- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_OperationInputType (1.02 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_EQ(2, TF_OperationNumInputs(add)); EXPECT_EQ(2, TF_OperationInputListLength(add, "inputs", s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 0})); EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 1})); TF_Output add_in_0 = TF_OperationInput(TF_Input{add, 0}); EXPECT_EQ(feed, add_in_0.oper); EXPECT_EQ(0, add_in_0.index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
return -1; } return iter->second.second - iter->second.first; } int TF_OperationNumInputs(TF_Operation* oper) { return oper->node.num_inputs(); } TF_DataType TF_OperationInputType(TF_Input oper_in) { return static_cast<TF_DataType>(oper_in.oper->node.input_type(oper_in.index)); } int TF_OperationInputListLength(TF_Operation* oper, const char* arg_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0)