Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CloneOp (0.11 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteOp(var_op);
      TFE_DeleteOp(var_op_2);
      TFE_DeleteContext(ctx);
    }
    
    // Needs to work with a const TFE_Op since custom devices should not modify the
    // op they are called with.
    TFE_Op* CloneOp(const TFE_Op* other) {
      TF_Status* status = TF_NewStatus();
      TFE_Context* context = TFE_OpGetContext(other, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top