- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_RESOURCE (0.11 sec)
-
tensorflow/c/eager/c_api_distributed_test.cc
TFE_CreatePackedTensorHandle(ctx, handles.data(), &num_replicas, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); EXPECT_EQ(TFE_TensorHandleDataType(packed_handle), TF_RESOURCE); EXPECT_EQ(TFE_TensorHandleNumDims(packed_handle, status), 0); EXPECT_EQ(TFE_TensorHandleNumElements(packed_handle, status), 1); const string composite_device_name =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
const auto tensor_interface = tensorflow::down_cast<const tensorflow::TensorInterface*>(src->tensor); if (dst->dims() != 0) { return InvalidArgument( "Malformed TF_RESOURCE tensor: expected a scalar, got a tensor with " "shape ", dst->shape().DebugString()); } *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)