- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TFE_TensorHandleCopySharingTensor (0.34 seconds)
-
tensorflow/c/eager/c_api_test.cc
TFE_DeleteContextOptions(opts); TFE_TensorHandle* h = TestMatrixTensorHandle(ctx); EXPECT_EQ(TF_FLOAT, TFE_TensorHandleDataType(h)); TFE_TensorHandle* h_shares_tensor = TFE_TensorHandleCopySharingTensor(h, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TF_Tensor* t = TFE_TensorHandleResolve(h_shares_tensor, status.get()); ASSERT_EQ(16, TF_TensorByteSize(t));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0)