Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateVariable (0.08 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      TFE_DeleteOp(op);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      CHECK_EQ(1, num_retvals);
      TF_DeleteStatus(status);
      return var_handle;
    }
    
    TFE_TensorHandle* CreateVariable(TFE_Context* ctx, float value,
                                     const tensorflow::string& device_name,
                                     const tensorflow::string& variable_name) {
      TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top