Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TSL_Code (0.09 sec)

  1. tensorflow/c/tf_status.cc

    // compatibility only.
    
    TF_Status* TF_NewStatus() { return TSL_NewStatus(); }
    void TF_DeleteStatus(TF_Status* s) { TSL_DeleteStatus(s); }
    void TF_SetStatus(TF_Status* s, TF_Code code, const char* msg) {
      TSL_SetStatus(s, TSL_Code(code), msg);
    }
    void TF_SetPayload(TF_Status* s, const char* key, const char* value) {
      TSL_SetPayload(s, key, value);
    }
    void TF_ForEachPayload(const TF_Status* s, TF_PayloadVisitor visitor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 18:40:14 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/tf_status.h

    // --------------------------------------------------------------------------
    // TF_Code holds an error code.  The enum values here are identical to
    // corresponding values in error_codes.proto.
    typedef TSL_Code TF_Code;
    // LINT.IfChange
    #define TF_OK TSL_OK
    #define TF_CANCELLED TSL_CANCELLED
    #define TF_UNKNOWN TSL_UNKNOWN
    #define TF_INVALID_ARGUMENT TSL_INVALID_ARGUMENT
    #define TF_DEADLINE_EXCEEDED TSL_DEADLINE_EXCEEDED
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top