Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for destroyed (0.41 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      int num_retvals = 1;
      TFE_Execute(op.get(), &var_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      return new Variable(var_handle, type);
    }
    
    void Variable::Destroy(TFE_Context* context, TF_Status* status) {
      // Free the backing buffer for the variable.
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
          TFE_NewOp(context, "DestroyResourceOp", status), &TFE_DeleteOp);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler_test.cc

      params->optimizer->struct_size = TP_OPTIMIZER_STRUCT_SIZE;
      params->optimizer->create_func = nullptr;
      params->optimizer->optimize_func = optimize_func;
      params->optimizer->destroy_func = nullptr;
    }
    
    TEST(Grappler, SuccessfulRegistration) {
      auto plugin_init = [](TP_OptimizerRegistrationParams* const params,
                            TF_Status* const status) -> void {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top