- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_TensorFromProto (0.2 sec)
-
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); // --------------------------------------------------------------------------
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
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);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
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;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0)