- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for to (0.13 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_EQ(2, num_dims); EXPECT_EQ(2, returned_dims[0]); EXPECT_EQ(3, returned_dims[1]); // Try to fetch a shape with the wrong num_dims TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); // Try to set an invalid shape (cannot change 2x3 to a 2x5). dims[1] = 5; TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test.cc
if (async) { if (forward_input) { // Since the input was forwarded, we released the input handle right away // and hence expect the input to be forwarded to the return tensor. EXPECT_EQ(orig_ptr, TF_TensorData(t)); } else { // In async mode we expect forwarding to work without releasing the input // handle since by the time the kernel is executed we have released the // handle in the client code.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)