- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_OperationName (0.06 sec)
-
tensorflow/c/c_api_test.cc
// Make a placeholder operation. TF_Operation* feed = Placeholder(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Test TF_Operation*() query functions. EXPECT_EQ(string("feed"), string(TF_OperationName(feed))); EXPECT_EQ(string("Placeholder"), string(TF_OperationOpType(feed))); EXPECT_EQ(string(""), string(TF_OperationDevice(feed))); EXPECT_EQ(1, TF_OperationNumOutputs(feed));
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.cc
mutex_lock l(desc->graph->mu); return TF_FinishOperationLocked(desc, status); } // TF_Operation functions // ---------------------------------------------------------- const char* TF_OperationName(TF_Operation* oper) { return oper->node.name().c_str(); } const char* TF_OperationOpType(TF_Operation* oper) { return oper->node.type_string().c_str(); }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K bytes - Viewed (0)