- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for comments (0.14 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_INT32, TF_TensorType(out)); EXPECT_EQ(0, TF_NumDims(out)); // scalar ASSERT_EQ(sizeof(int32), TF_TensorByteSize(out)); int32* output_contents = static_cast<int32*>(TF_TensorData(out)); EXPECT_EQ(3 + 2, *output_contents); // Add another operation to the graph. TF_Operation* neg = Neg(add, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 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 (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get()); continue; } TFE_DeleteTensorHandle(hdevice2); // Ensure that the contents are the same! TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get()); TFE_DeleteTensorHandle(hcopy); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag; continue; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)