Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetFunctionDef (0.14 sec)

  1. tensorflow/c/c_test_util.cc

      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      if (ret) ret = node_def->ParseFromArray(buffer->data, buffer->length);
      TF_DeleteBuffer(buffer);
      TF_DeleteStatus(s);
      return ret;
    }
    
    bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def) {
      TF_Status* s = TF_NewStatus();
      TF_Buffer* buffer = TF_NewBuffer();
      TF_FunctionToFunctionDef(func, buffer, s);
      bool ret = TF_GetCode(s) == TF_OK;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
Back to top