Function MSModelSetTrainMode

Function Documentation

MSStatus MSModelSetTrainMode(const MSModelHandle model, bool train)

Set the model running mode. Only valid for Iot.

Set the model running mode. Only valid for Lite Train.

参数
  • model[in] Model object handle.

  • train[in] True means model runs in Train Mode, otherwise Eval Mode.

  • model[in] Model object handle.

  • train[in] True means model runs in Train Mode, otherwise Eval Mode.

返回

Status of operation.

返回

MSStatus.