Function MSModelBuildFromFile
Defined in File model_c.h
Function Documentation
-
MSStatus MSModelBuildFromFile(MSModelHandle model, const char *model_path, MSModelType model_type, const MSContextHandle model_context)
Load and build the model from model path so that it can run on a device.
- 参数
model – [in] Model object handle.
model_path – [in] Define the model file path.
model_type – [in] Define The type of model file.
model_context – [in] Define the context used to store options during execution.
- 返回
MSStatus.