- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ASSERT_TRUE (0.05 sec)
-
tensorflow/c/eager/c_api_test.cc
} const string gpu_1_name(TF_DeviceListName(devices, 1, status.get())); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK); const string gpu_2_name(TF_DeviceListName(devices, 2, status.get())); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK); TFE_TensorHandle* hdevice = TFE_TensorHandleCopyToDevice(hcpu, ctx, gpu_1_name.c_str(), status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_TRUE(neg == neg2); NodeDef node_def2; ASSERT_TRUE(GetNodeDef(neg2, &node_def2)); EXPECT_EQ(node_def.DebugString(), node_def2.DebugString()); TF_Operation* feed2 = TF_GraphOperationByName(graph, "feed"); EXPECT_TRUE(feed == feed2); ASSERT_TRUE(GetNodeDef(feed, &node_def)); ASSERT_TRUE(GetNodeDef(feed2, &node_def2)); EXPECT_EQ(node_def.DebugString(), node_def2.DebugString());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
const auto& v = a_edges.insert({iter->second, arg.name()}); ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> " << arg.name() << ". fdef: " << fdef.DebugString(); } else { const auto& v = a_edges.insert({arg.name(), arg.name()}); ASSERT_TRUE(v.second) << "Duplicate edge " << arg.name() << " -> "
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)