[Issue type] : bug fix
Fixed a build error due to using not supported interface - GetWeightWithLayer
- of training engine interface by dropping the relevant code.
This code will be revisited after updating training engine interface later.
Change-Id: Id50415de47022b189933477cd69495639907690a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
void TrainingModel::getWeights(float **weights, size_t *size, std::string name)
{
- int ret = _training->GetWeightWithLayer(_model.get(), weights, size, name);
- if (ret != TRAINING_ENGINE_ERROR_NONE)
- throw InvalidOperation("Fail to get weights.", ret);
-
+ // TODO.
}
void TrainingModel::RemoveModel()