Function MSModelGetWeights
Defined in File model_c.h
Function Documentation
-
MSTensorHandleArray MSModelGetWeights(MSModelHandle model)
Obtains all weights tensors of the model. Only valid for Lite Train.
- 参数
model – [in] Model object handle.
- 返回
The vector that includes all gradient tensors.