Function MSModelSetTrainMode

Function Documentation

MSStatus MSModelSetTrainMode(const MSModelHandle model, bool train)

Set the model running mode. Only valid for Iot.

参数
  • model[in] Model object handle.

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

返回

Status of operation.