- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for control_inputs (0.06 sec)
-
tensorflow/c/c_api_test.cc
// inherit them from input) TF_Operation* control_inputs[100]; int num_control_inputs = TF_OperationGetControlInputs( scalar3, control_inputs, TF_OperationNumControlInputs(scalar3)); ASSERT_EQ(2, num_control_inputs); EXPECT_EQ(feed, control_inputs[0]); EXPECT_EQ(feed2, control_inputs[1]); num_control_inputs = TF_OperationGetControlInputs( feed3, control_inputs, TF_OperationNumControlInputs(feed3));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.cc
TF_Operation** control_inputs, int max_control_inputs) { int count = 0; for (const auto* edge : oper->node.in_edges()) { if (edge->IsControlEdge() && !edge->src()->IsSource()) { if (count < max_control_inputs) { control_inputs[count] = ToOperation(edge->src()); } ++count; } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)