- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TF_OperationNumControlInputs (0.17 seconds)
-
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));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern int TF_OperationNumControlInputs(TF_Operation* oper); // Get list of all control inputs to an operation. `control_inputs` must // point to an array of length `max_control_inputs` (ideally set to // TF_OperationNumControlInputs(oper)). Returns the number of control // inputs (should match TF_OperationNumControlInputs(oper)). TF_CAPI_EXPORT extern int TF_OperationGetControlInputs(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (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;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)