Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reused_op (0.07 sec)

  1. tensorflow/c/eager/custom_device_test.cc

      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> reused_op(
          TFE_NewOp(context.get(), "Identity", status.get()), TFE_DeleteOp);
      TFE_OpReset(reused_op.get(), "Identity", custom_device_name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(tensorflow::string(TFE_OpGetDevice(reused_op.get(), status.get())),
                tensorflow::string(custom_device_name));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 18.4K bytes
    - Viewed (0)
Back to top