- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_NewGraph (0.13 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
const char* function_name, int group_size, TF_Status* status) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> body(TF_NewGraph(), TF_DeleteGraph); TF_OperationDescription* placeholder_desc = TF_NewOperation(body.get(), "Placeholder", "Placeholder");
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K 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 Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)