Function MSModelExportWeight

Function Documentation

MSStatus MSModelExportWeight(const MSModelHandle model, const char *export_path)

Export the weights of model to the binary file. Only valid for Iot.

Parameters:
  • model – [in] Model object handle.

  • export_path – [in] Define the export weight file path.

Returns:

Status of operation.