- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_OperationNumControlInputs (0.21 sec)
-
tensorflow/c/c_api_test.cc
TF_Operation* control_ops[100]; EXPECT_EQ(0, TF_OperationNumControlInputs(scalar)); EXPECT_EQ(0, TF_OperationGetControlInputs(scalar, control_ops, 100)); EXPECT_EQ(0, TF_OperationNumControlOutputs(scalar)); EXPECT_EQ(0, TF_OperationGetControlOutputs(scalar, control_ops, 100)); EXPECT_EQ(0, TF_OperationNumControlInputs(feed)); EXPECT_EQ(0, TF_OperationGetControlInputs(feed, control_ops, 100));
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
if (count < max_consumers) { consumers[count] = {ToOperation(edge->dst()), edge->dst_input()}; } ++count; } } return count; } int TF_OperationNumControlInputs(TF_Operation* oper) { int count = 0; for (const auto* edge : oper->node.in_edges()) { if (edge->IsControlEdge() && !edge->src()->IsSource()) { ++count; } } return count;
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K bytes - Viewed (0)