Function MSTrainCfgSetOptimizationLevel

Function Documentation

void MSTrainCfgSetOptimizationLevel(MSTrainCfgHandle train_cfg, MSOptimizationLevel level)

Set optimization level of the train_cfg. Only valid for Lite Train.

Parameters
  • train_cfg[in] TrainCfg object handle.

  • level[in] The optimization level of train_cfg.