- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_OperationInputType (0.36 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.h
TF_Status* status); TF_CAPI_EXPORT extern int TF_OperationNumInputs(TF_Operation* oper); TF_CAPI_EXPORT extern TF_DataType TF_OperationInputType(TF_Input oper_in); TF_CAPI_EXPORT extern int TF_OperationInputListLength(TF_Operation* oper, const char* arg_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K 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)