- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_OperationDevice (0.13 sec)
-
tensorflow/c/c_api_test.cc
// Test TF_Operation*() query functions. EXPECT_EQ(string("feed"), string(TF_OperationName(feed))); EXPECT_EQ(string("Placeholder"), string(TF_OperationOpType(feed))); EXPECT_EQ(string(""), string(TF_OperationDevice(feed))); EXPECT_EQ(1, TF_OperationNumOutputs(feed)); EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{feed, 0})); EXPECT_EQ(1, TF_OperationOutputListLength(feed, "output", s));
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
return oper->node.name().c_str(); } const char* TF_OperationOpType(TF_Operation* oper) { return oper->node.type_string().c_str(); } const char* TF_OperationDevice(TF_Operation* oper) { return oper->node.requested_device().c_str(); } int TF_OperationNumOutputs(TF_Operation* oper) { return oper->node.num_outputs(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)