- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_NewGraph (0.06 sec)
-
tensorflow/c/c_api_test.cc
TF_DeleteStatus(s); } /* TODO(skyewm): this test currently DCHECKs, change to bad status TEST(CAPI, InputFromDifferentGraphError) { TF_Status* s = TF_NewStatus(); 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);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.cc
if (ninputs == 0) { status->status = InvalidArgument("TF_NewWhile() must be passed at least one input"); return EmptyWhileParams(); } TF_Graph* cond_graph = TF_NewGraph(); TF_Graph* body_graph = TF_NewGraph(); cond_graph->parent = g; cond_graph->parent_inputs = inputs; body_graph->parent = g; body_graph->parent_inputs = inputs; TF_Output* cond_inputs = new TF_Output[ninputs];
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue May 13 06:30:43 UTC 2025 - 102.3K bytes - Viewed (0)