- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TF_OperationNumOutputs (0.49 seconds)
-
tensorflow/c/eager/c_api_unified_experimental_graph.cc
} TF_Status* s = TF_NewStatus(); auto* operation = TF_FinishOperation(tf_opdesc, s); TF_RETURN_IF_ERROR(StatusFromTF_Status(s)); TF_DeleteStatus(s); *num_retvals = TF_OperationNumOutputs(operation); for (int i = 0; i < *num_retvals; ++i) { retvals[i] = new GraphTensor({operation, i}, g_); } return absl::OkStatus(); }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat May 31 07:13:41 GMT 2025 - 15.7K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(std::string("Placeholder"), std::string(TF_OperationOpType(feed))); EXPECT_EQ(std::string(""), std::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)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
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 const char* TF_OperationOpType(TF_Operation* oper); TF_CAPI_EXPORT extern const char* TF_OperationDevice(TF_Operation* oper); TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper); TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out); TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
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
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(); } TF_DataType TF_OperationOutputType(TF_Output oper_out) { return static_cast<TF_DataType>(
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)