- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_GraphOperationByName (0.07 sec)
-
tensorflow/c/c_api_test.cc
ASSERT_TRUE(TF_GraphOperationByName(graph, "feed") != nullptr); TF_Operation* oper = ScalarConst(3, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_TRUE(TF_GraphOperationByName(graph, "scalar") != nullptr); Neg(oper, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_TRUE(TF_GraphOperationByName(graph, "neg") != nullptr); // Export to a GraphDef.
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} } } TF_Operation* enqueue_op = TF_GraphOperationByName( session->graph, absl::StrCat("fifo_queue_enqueue_", tensor_id).c_str()); if (enqueue_op == nullptr) { status->status = tensorflow::errors::Internal( "Unable to find the enqueue node in the TF graph."); return; } TF_Operation* placeholder_op = TF_GraphOperationByName(Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_Status* status); // Returns the operation in the graph with `oper_name`. Returns nullptr if // no operation found. TF_CAPI_EXPORT extern TF_Operation* TF_GraphOperationByName( TF_Graph* graph, const char* oper_name); // Iterate through the operations of a graph. To use: // size_t pos = 0; // TF_Operation* oper;Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
if (g == nullptr) return; g->mu.lock(); g->delete_requested = true; const bool del = g->sessions.empty(); g->mu.unlock(); if (del) delete g; } TF_Operation* TF_GraphOperationByName(TF_Graph* graph, const char* oper_name) { mutex_lock l(graph->mu); auto iter = graph->name_map.find(oper_name); if (iter == graph->name_map.end()) { return nullptr; } else {
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K bytes - Viewed (0)