- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_GraphNextOperation (0.09 sec)
-
tensorflow/c/c_api.h
// Iterate through the operations of a graph. To use: // size_t pos = 0; // TF_Operation* oper; // while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { // DoSomethingWithOperation(oper); // } TF_CAPI_EXPORT extern TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
found_placeholder = false; found_scalar_const = false; found_add = false; bool found_neg = false; size_t pos = 0; TF_Operation* oper; while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { if (oper == feed) { EXPECT_FALSE(found_placeholder); found_placeholder = true; } else if (oper == three) { EXPECT_FALSE(found_scalar_const);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)