Skip to content

Commit

Permalink
Remove virtual specifiers
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 9, 2018
1 parent a9a4116 commit 128422e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lstm/lstmtrainer.h
Expand Up @@ -211,10 +211,10 @@ class LSTMTrainer : public LSTMRecognizer {
int CurrentTrainingStage() const { return training_stage_; }

// Writes to the given file. Returns false in case of error.
virtual bool Serialize(SerializeAmount serialize_amount,
const TessdataManager* mgr, TFile* fp) const;
bool Serialize(SerializeAmount serialize_amount,
const TessdataManager* mgr, TFile* fp) const;
// Reads from the given file. Returns false in case of error.
virtual bool DeSerialize(const TessdataManager* mgr, TFile* fp);
bool DeSerialize(const TessdataManager* mgr, TFile* fp);

// De-serializes the saved best_trainer_ into sub_trainer_, and adjusts the
// learning rates (by scaling reduction, or layer specific, according to
Expand Down

0 comments on commit 128422e

Please sign in to comment.