Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_OperationToNodeDef (0.23 sec)

  1. 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);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  2. 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 {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. 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);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top