- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for to_tensor (0.05 sec)
-
tensorflow/c/c_api_experimental_test.cc
} TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) { // Prepare some tensors for shape. TF_Tensor* tensor_1X6 = Int32Tensor({1, 6}); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); TF_Tensor* tensor_1X1X6 = Int32Tensor({1, 1, 6}); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/BUILD
name = "tf_tensor_hdrs", hdrs = [ "tf_tensor.h", "tf_tensor_helper.h", ], visibility = ["//visibility:public"], deps = [ ":c_api_macros_hdrs", ":tf_datatype_hdrs", ":tf_status_headers", "//tensorflow/core/platform:status", ], ) cc_library( name = "tf_tensor", srcs = ["tf_tensor.cc"], hdrs = [ "tf_tensor.h",
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 30.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
binary_proto_buf.data(), binary_proto_buf.size(), status); if (!status->status.ok()) return {}; ret.push_back(UniqueFuncPtr(func, TF_DeleteFunction)); } return ret; } TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status) { assert(session); { tensorflow::mutex_lock c(session->graph->mu);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// empty, this call is blocked. // // Tensors are enqueued via the corresponding TF enqueue op. // TODO(hongm): Add support for `timeout_ms`. TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0)