- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for proto_len (0.14 sec)
-
tensorflow/c/tf_buffer.cc
TF_Buffer* TF_NewBuffer() { return new TF_Buffer{nullptr, 0, nullptr}; } TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len) { void* copy = tensorflow::port::Malloc(proto_len); std::memcpy(copy, proto, proto_len); TF_Buffer* buf = new TF_Buffer; buf->data = copy; buf->length = proto_len; buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data); }; return buf; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/c/python_api.cc
handle_data.SerializeToString(&result); return result; } void SetHandleShapeAndType(TF_Graph* graph, TF_Output output, const void* proto, size_t proto_len, TF_Status* status) { TF_SetHandleShapeAndType(graph, output, proto, proto_len, status); } void AddWhileInputHack(TF_Graph* graph, TF_Output new_src, TF_Operation* dst, TF_Status* status) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/tf_buffer.h
// passing in read-only, input protobufs. TF_CAPI_EXPORT extern TF_Buffer* TF_NewBufferFromString(const void* proto, size_t proto_len); // Useful for passing *out* a protobuf. TF_CAPI_EXPORT extern TF_Buffer* TF_NewBuffer(void); TF_CAPI_EXPORT extern void TF_DeleteBuffer(TF_Buffer*);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 2K bytes - Viewed (0) -
tensorflow/c/python_api.h
// because I couldn't get SWIG to work otherwise. void SetHandleShapeAndType(TF_Graph* graph, TF_Output output, const void* proto, size_t proto_len, TF_Status* status); // This method is used to add a new input edge to 'dst', which must be a While // op. The While op's "T" attribute must have already been updated to include
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0)