- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetGraphDef (0.21 sec)
-
tensorflow/c/c_api_function_test.cc
TF_GraphCopyFunction(host_graph_, func_, grad_func, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Verify that function and its grad are in host graph's GraphDef GraphDef gdef; GetGraphDef(host_graph_, &gdef); std::vector<string> func_names = GetFuncNames(gdef); ASSERT_EQ(2, func_names.size()); ASSERT_EQ(func_name_, func_names[0]); ASSERT_EQ("MyGrad", func_names[1]);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Compare that the graphs match. GraphDef expected_gdef; GraphDef gdef; EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef)); EXPECT_TRUE(GetGraphDef(graph_, &gdef)); TF_EXPECT_GRAPH_EQ(expected_gdef, gdef); // Compare that the output of the gradients of both graphs match.
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)