API Reference Manual  1.45.0
odp_ml_model_info_t Struct Reference

Model information. More...

#include <ml_types.h>

Data Fields

char name [ODP_ML_MODEL_NAME_LEN]
 Model name.
 
uint64_t model_version
 Model version number. More...
 
uint64_t interface_version
 Model interface version number. More...
 
uint32_t index
 Model index assigned by the implementation.
 
uint32_t num_inputs
 Number of model inputs.
 
uint32_t num_outputs
 Number of model outputs.
 

Detailed Description

Model information.

Definition at line 548 of file api/spec/ml_types.h.

Field Documentation

◆ model_version

uint64_t odp_ml_model_info_t::model_version

Model version number.

Version number of the model binary. The number changes when the model is modified in any way.

Definition at line 558 of file api/spec/ml_types.h.

◆ interface_version

uint64_t odp_ml_model_info_t::interface_version

Model interface version number.

The model interface version number changes only when model input or output data format is modified. Data formats are the same for two model versions that have the same interface version number.

Definition at line 567 of file api/spec/ml_types.h.


The documentation for this struct was generated from the following file: