- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_OperationToNodeDef (0.39 sec)
-
tensorflow/c/c_test_util.cc
TF_DeleteStatus(s); return ret; } bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def) { TF_Status* s = TF_NewStatus(); TF_Buffer* buffer = TF_NewBuffer(); TF_OperationToNodeDef(oper, buffer, s); bool ret = TF_GetCode(s) == TF_OK; EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); if (ret) ret = node_def->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/c_api.h
int max_func, TF_Status* status); // Note: The following function may fail on very large protos in the future. TF_CAPI_EXPORT extern void TF_OperationToNodeDef(TF_Operation* oper, TF_Buffer* output_node_def, TF_Status* status); typedef struct TF_WhileParams {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
return; } count++; } status->status = OutOfRange("Operation only has ", count, " attributes, can't get the ", i, "th"); } void TF_OperationToNodeDef(TF_Operation* oper, TF_Buffer* output_node_def, TF_Status* status) { status->status = MessageToBuffer(oper->node.def(), output_node_def); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)