- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for true (0.12 sec)
-
tensorflow/c/c_api_test.cc
found_scalar_const = true; } else if (IsAddN(n, 2)) { EXPECT_FALSE(found_add); found_add = true; } else { ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString(); } } EXPECT_TRUE(found_placeholder); EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); // Add another oper to the graph. TF_Operation* neg = Neg(add, graph, 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
ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); const char* device_name = TFE_OpGetDevice(matmul, status); ASSERT_TRUE(strstr(device_name, "GPU:0") != nullptr); TFE_OpSetDevice(matmul, "CPU:0", status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); device_name = TFE_OpGetDevice(matmul, status); ASSERT_TRUE(strstr(device_name, "CPU:0") != nullptr); }
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)