src/lstm/plumbing.cpp
void Plumbing::SetEnableTraining(TrainingState state) {
  Network::SetEnableTraining(state);
  for (auto &i : stack_) {
    i->SetEnableTraining(state);
  }
}
// Suspends/Enables training by setting the training_ flag. Serialize and
// DeSerialize only operate on the run-time data if state is false.
Suspends/Enables training by setting the training_ flag. Serialize and
DeSerialize only operate on the run-time data if state is false.
Suspends / Enables training by setting the training_ flag . Serialize and DeSerialize only operate on the run - time data if state is false .
void Plumbing::SetEnableTraining(TrainingState state) {
  Network::SetEnableTraining(state);
  for (auto &i : stack_) {
    i->SetEnableTraining(state);
  }
}
void Plumbing :: SetEnableTraining ( TrainingState state ) { Network :: SetEnableTraining ( state ) ; for ( auto & i : stack_ ) { i -> SetEnableTraining ( state ) ; } }
Suspends/Enables training by setting the training_ flag.
Suspends / Enables training by setting the training_ flag .