Function MSModelBuild
Defined in File model_c.h
Function Documentation
-
MSStatus MSModelBuild(MSModelHandle model, const void *model_data, size_t data_size, MSModelType model_type, const MSContextHandle model_context)
Build the model from model file buffer so that it can run on a device. Only valid for Lite.
- Parameters
model – [in] Model object handle.
model_data – [in] Define the buffer read from a model file.
data_size – [in] Define bytes number of model file buffer.
model_type – [in] Define The type of model file.
model_context – [in] Define the context used to store options during execution.
- Returns
MSStatus.