Module menoh::ffi[][src]

This module provides "raw" declarations and linkage for Menoh C API.

In nomarl use case, no need to use this module directly.

To get information of Menoh C API, please refer to here

Structs

menoh_model
menoh_model_builder
menoh_model_data
menoh_variable_profile_table
menoh_variable_profile_table_builder

Constants

menoh_dtype_float
menoh_error_code_backend_error
menoh_error_code_dimension_mismatch
menoh_error_code_failed_to_configure_operator
menoh_error_code_index_out_of_range
menoh_error_code_invalid_attribute_type
menoh_error_code_invalid_backend_name
menoh_error_code_invalid_dtype
menoh_error_code_invalid_filename
menoh_error_code_json_parse_error
menoh_error_code_onnx_parse_error
menoh_error_code_same_named_variable_already_exist
menoh_error_code_std_error
menoh_error_code_success
menoh_error_code_unknown_error
menoh_error_code_unsupported_onnx_opset_version
menoh_error_code_unsupported_operator
menoh_error_code_unsupported_operator_attribute
menoh_error_code_variable_not_found

Functions

menoh_build_model
menoh_build_variable_profile_table
menoh_delete_model
menoh_delete_model_builder
menoh_delete_model_data
menoh_delete_variable_profile_table
menoh_delete_variable_profile_table_builder
menoh_get_last_error_message
menoh_make_model_builder
menoh_make_model_data_from_onnx
menoh_make_variable_profile_table_builder
menoh_model_builder_attach_external_buffer
menoh_model_data_optimize
menoh_model_get_variable_buffer_handle
menoh_model_get_variable_dims_at
menoh_model_get_variable_dims_size
menoh_model_get_variable_dtype
menoh_model_run
menoh_variable_profile_table_builder_add_input_profile_dims_2
menoh_variable_profile_table_builder_add_input_profile_dims_4
menoh_variable_profile_table_builder_add_output_profile
menoh_variable_profile_table_get_dims_at
menoh_variable_profile_table_get_dims_size
menoh_variable_profile_table_get_dtype

Type Definitions

menoh_dtype
menoh_error_code
menoh_model_builder_handle
menoh_model_data_handle
menoh_model_handle
menoh_variable_profile_table_builder_handle
menoh_variable_profile_table_handle