Menoh
Classes | Enumerations | Functions
menoh Namespace Reference

Classes

class  error
 The error class thrown when any error occured. More...
 
class  model
 The main component to run inference. More...
 
class  model_builder
 The builder class to build model. More...
 
class  model_data
 model data class More...
 
struct  variable
 
struct  variable_profile
 
class  variable_profile_table
 Key value store for variable_profile. More...
 
class  variable_profile_table_builder
 The builder class to build variable_profile_table. More...
 

Enumerations

enum  error_code_t {
  error_code_t::success = menoh_error_code_success, error_code_t::std_error = menoh_error_code_std_error, error_code_t::unknown_error = menoh_error_code_unknown_error, error_code_t::invalid_filename = menoh_error_code_invalid_filename,
  error_code_t::unsupported_onnx_opset_version, error_code_t::onnx_parse_error = menoh_error_code_onnx_parse_error, error_code_t::invalid_dtype = menoh_error_code_invalid_dtype, error_code_t::invalid_attribute_type = menoh_error_code_invalid_attribute_type,
  error_code_t::unsupported_operator_attribute, error_code_t::dimension_mismatch = menoh_error_code_dimension_mismatch, error_code_t::variable_not_found = menoh_error_code_variable_not_found, error_code_t::index_out_of_range = menoh_error_code_index_out_of_range,
  error_code_t::json_parse_error = menoh_error_code_json_parse_error, error_code_t::invalid_backend_name = menoh_error_code_invalid_backend_name, error_code_t::unsupported_operator = menoh_error_code_unsupported_operator, error_code_t::failed_to_configure_operator,
  error_code_t::backend_error = menoh_error_code_backend_error, error_code_t::same_named_variable_already_exist, error_code_t::invalid_dims_size
}
 
enum  dtype_t { dtype_t::float_ = menoh_dtype_float }
 

Functions

model_data make_model_data_from_onnx (std::string const &onnx_filename)
 Load ONNX file and make model_data. More...
 
model_data make_model_data_from_onnx_data_on_memory (const uint8_t *onnx_data, uint32_t size)
 Make model_data from onnx binary data on memory. More...