- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GraphDef (0.1 sec)
-
tensorflow/c/c_api_test.cc
TF_OperationOutputConsumers(TF_Output{three, 0}, &three_port, 1)); EXPECT_EQ(add, three_port.oper); EXPECT_EQ(1, three_port.index); // Serialize to GraphDef. GraphDef graph_def; ASSERT_TRUE(GetGraphDef(graph, &graph_def)); // Validate GraphDef is what we expect. bool found_placeholder = false; bool found_scalar_const = false; bool found_add = false; for (const auto& n : graph_def.node()) {
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
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]);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_Status* status); // Has the same behavior as TF_GraphImportGraphDefWithResults, but instead of // taking in a serialized tensorflow::GraphDef, it takes in a *pointer* to the // C++ *in memory representation* of the GraphDef, stored in `graph_def->data` TF_CAPI_EXPORT extern TF_ImportGraphDefResults* TF_GraphImportGraphDefWithResultsNoSerialization( TF_Graph* graph, const TF_Buffer* graph_def,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)