- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TF_TensorFromProto (0.31 seconds)
-
tensorflow/c/c_api.h
// TensorFlow library. TensorFlow uses semantic versioning. TF_CAPI_EXPORT extern const char* TF_Version(void); // Parsing a serialized TensorProto into a TF_Tensor. TF_CAPI_EXPORT extern void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to, TF_Status* status); // --------------------------------------------------------------------------
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
} // Disable optimizations for static graph to allow calls to Session::Extend. options->options.config.mutable_experimental() ->set_disable_optimize_for_static_graph(true); } void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); tensorflow::TensorProto from_tensor_proto;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
TF_Tensor* t_c = TF_NewTensor(TF_FLOAT, dims, 2, values, num_bytes, &Deallocator, &deallocator_called); TF_Status* status = TF_NewStatus(); TF_TensorFromProto(t_buffer, t_c, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); EXPECT_EQ(1.0, *(static_cast<float*>(TF_TensorData(t_c)))); TF_DeleteStatus(status); TF_DeleteTensor(t_c);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0)