Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for CloneOp (0.07 seconds)

  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);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
Back to Top