Function MSTrainCfgGetOptimizationLevel

Function Documentation

MSOptimizationLevel MSTrainCfgGetOptimizationLevel(MSTrainCfgHandle train_cfg)

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

参数

train_cfg[in] TrainCfg object handle.

返回

MSOptimizationLevel.