Group Basics#
- group ov_base_c_api
The basic definitions & interfaces of OpenVINO C API to work with other components.
Enums
-
enum ov_status_e#
This enum contains codes for all possible return values of the interface functions.
Values:
-
enumerator OK#
SUCCESS.
-
enumerator GENERAL_ERROR#
GENERAL_ERROR.
-
enumerator NOT_IMPLEMENTED#
NOT_IMPLEMENTED.
-
enumerator NETWORK_NOT_LOADED#
NETWORK_NOT_LOADED.
-
enumerator PARAMETER_MISMATCH#
PARAMETER_MISMATCH.
-
enumerator NOT_FOUND#
NOT_FOUND.
-
enumerator OUT_OF_BOUNDS#
OUT_OF_BOUNDS.
-
enumerator UNEXPECTED#
UNEXPECTED.
-
enumerator REQUEST_BUSY#
REQUEST_BUSY.
-
enumerator RESULT_NOT_READY#
RESULT_NOT_READY.
-
enumerator NOT_ALLOCATED#
NOT_ALLOCATED.
-
enumerator INFER_NOT_STARTED#
INFER_NOT_STARTED.
-
enumerator NETWORK_NOT_READ#
NETWORK_NOT_READ.
-
enumerator INFER_CANCELLED#
INFER_CANCELLED.
-
enumerator INVALID_C_PARAM#
INVALID_C_PARAM.
-
enumerator UNKNOWN_C_ERROR#
UNKNOWN_C_ERROR.
-
enumerator NOT_IMPLEMENT_C_METHOD#
NOT_IMPLEMENT_C_METHOD.
-
enumerator UNKNOW_EXCEPTION#
UNKNOW_EXCEPTION.
-
enumerator OK#
-
enum ov_element_type_e#
This enum contains codes for element type, which is aligned with ov::element::Type_t in src/core/include/openvino/core/type/element_type.hpp.
Values:
-
enumerator UNDEFINED#
Undefined element type.
-
enumerator DYNAMIC#
Dynamic element type.
-
enumerator BOOLEAN#
boolean element type
-
enumerator BF16#
bf16 element type
-
enumerator F16#
f16 element type
-
enumerator F32#
f32 element type
-
enumerator F64#
f64 element type
-
enumerator I4#
i4 element type
-
enumerator I8#
i8 element type
-
enumerator I16#
i16 element type
-
enumerator I32#
i32 element type
-
enumerator I64#
i64 element type
-
enumerator U1#
binary element type
-
enumerator U2#
u2 element type
-
enumerator U3#
u3 element type
-
enumerator U4#
u4 element type
-
enumerator U6#
u6 element type
-
enumerator U8#
u8 element type
-
enumerator U16#
u16 element type
-
enumerator U32#
u32 element type
-
enumerator U64#
u64 element type
-
enumerator NF4#
nf4 element type
-
enumerator F8E4M3#
f8e4m3 element type
-
enumerator F8E5M3#
f8e5m2 element type
-
enumerator STRING#
string element type
-
enumerator F4E2M1#
f4e2m1 element type
-
enumerator F8E8M0#
f8e8m0 element type
-
enumerator UNDEFINED#
Functions
-
const char *ov_get_error_info(ov_status_e status)#
Print the error info.
- Parameters:
ov_status_e – a status code.
-
void ov_free(const char *content)#
free char
- Parameters:
content – The pointer to the char to free.
-
const char *ov_get_last_err_msg()#
Get the last error msg.
-
enum ov_status_e#