- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fromJS (0.25 sec)
-
tensorflow/c/c_api_test.cc
TF_Graph* g1 = TF_NewGraph(); TF_Graph* g2 = TF_NewGraph(); TF_Operation* feed = Placeholder(g1, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Attempt to create node in g2 with input from g1 Neg(feed, g2, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); EXPECT_STREQ("foo", TF_Message(s)); TF_DeleteGraph(g1); TF_DeleteGraph(g2); TF_DeleteStatus(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
TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get()); continue; } // Copy from device to the same device. TFE_TensorHandle* hdevice2 = TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) {
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)