Function MSTrainCfgGetOptimizationLevel

Function Documentation

MSOptimizationLevel MSTrainCfgGetOptimizationLevel(MSTrainCfgHandle train_cfg)

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

Parameters

train_cfg[in] TrainCfg object handle.

Returns

MSOptimizationLevel.