Function MSModelUpdateWeights

Function Documentation

MSStatus MSModelUpdateWeights(MSModelHandle model, const MSTensorHandleArray new_weights)

update weights tensors of the model. Only valid for Lite Train.

Parameters

new_weights[in] A vector new weights.

Returns

MSStatus