HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::common Namespace Reference

Classes

class  Status
 

Enumerations

enum  StatusCategory { NONE = 0, SYSTEM = 1, ONNXRUNTIME = 2 }
 
enum  StatusCode {
  OK = 0, FAIL = 1, INVALID_ARGUMENT = 2, NO_SUCHFILE = 3,
  NO_MODEL = 4, ENGINE_ERROR = 5, RUNTIME_EXCEPTION = 6, INVALID_PROTOBUF = 7,
  MODEL_LOADED = 8, NOT_IMPLEMENTED = 9, INVALID_GRAPH = 10, EP_FAIL = 11
}
 

Functions

constexpr const char * StatusCodeToString (StatusCode status) noexcept
 
std::ostream & operator<< (std::ostream &out, const Status &status)
 

Enumeration Type Documentation

Enumerator
NONE 
SYSTEM 
ONNXRUNTIME 

Definition at line 25 of file status.h.

Error code for ONNXRuntime.

Enumerator
OK 
FAIL 
INVALID_ARGUMENT 
NO_SUCHFILE 
NO_MODEL 
ENGINE_ERROR 
RUNTIME_EXCEPTION 
INVALID_PROTOBUF 
MODEL_LOADED 
NOT_IMPLEMENTED 
INVALID_GRAPH 
EP_FAIL 

Definition at line 34 of file status.h.

Function Documentation

std::ostream& onnxruntime::common::operator<< ( std::ostream &  out,
const Status &  status 
)
inline

Definition at line 183 of file status.h.

constexpr const char* onnxruntime::common::StatusCodeToString ( StatusCode  status)
noexcept

Definition at line 49 of file status.h.