Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Read (0.21 sec)

  1. tensorflow/c/eager/custom_device_test.cc

      executed = false;
      num_retvals = 0;
      TFE_Execute(op.get(), nullptr, &num_retvals, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_TRUE(executed);
    
      // Read the variable's value.
      op.reset(TFE_NewOp(context.get(), "ReadVariableOp", status.get()));
      TFE_OpAddInput(op.get(), var_handle, status.get());
      TFE_OpSetDevice(op.get(), name, status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
Back to top