- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_DeleteTensor (0.09 sec)
-
tensorflow/c/c_api_test.cc
1, nullptr, 0, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(3, *(static_cast<int32*>(TF_TensorData(fetchValues1[0])))); TF_DeleteTensor(feedValues1[0]); TF_DeleteTensor(fetchValues1[0]); // Feed B and fetch (A + 2) + B. TF_Output feeds2[] = {TF_Output{b, 0}}; TF_Output fetches2[] = {TF_Output{plusB, 0}}; TF_Tensor* feedValues2[] = {Int32Tensor(4)};
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
EXPECT_EQ( 0, memcmp(TF_TensorData(t), TF_TensorData(tcopy), TF_TensorByteSize(t))) << tag; TF_DeleteTensor(tcopy); } TF_DeleteDeviceList(devices); TF_DeleteTensor(t); TFE_DeleteTensorHandle(hcpu); TFE_DeleteContext(ctx); } TEST(CAPI, TensorHandleCopyBetweenDevices) { TensorHandleCopyBetweenDevices(false); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
int max_values, TF_Status* status); // Gets the TF_Tensor valued attribute of `attr_name` of `oper`. // // Allocates a new TF_Tensor which the caller is expected to take // ownership of (and can deallocate using TF_DeleteTensor). TF_CAPI_EXPORT extern void TF_OperationGetAttrTensor(TF_Operation* oper, const char* attr_name, TF_Tensor** value,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
"`inputs` must have a single output. Node split3 has " "3 outputs. Encountered while creating function 'MyFunc'"), string(TF_Message(s_))); TF_DeleteTensor(tensor_123); } TEST_F(CApiFunctionTest, FunctionWithWhileLoop) { // Inputs to the while loop and the function as a whole TF_Operation* feed1 = Placeholder(func_graph_, s_, "feed1");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)