提交 f4f66f8f 编写于 作者: R rays

Fixed regression of issue #644

上级 4b6f0b95
......@@ -301,6 +301,7 @@ class LSTMTrainer : public LSTMRecognizer {
// language model. trainer is the model that is restored.
bool ReadTrainingDump(const GenericVector<char>& data,
LSTMTrainer* trainer) const {
if (data.empty()) return false;
return ReadSizedTrainingDump(&data[0], data.size(), trainer);
}
bool ReadSizedTrainingDump(const char* data, int size,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册