src/lstm/fullyconnected.cpp
bool FullyConnected::Serialize(TFile *fp) const {
  if (!Network::Serialize(fp)) {
    return false;
  }
  if (!weights_.Serialize(IsTraining(), fp)) {
    return false;
  }
  return true;
}
// Writes to the given file. Returns false in case of error.
Writes to the given file. Returns false in case of error.
Writes to the given file . Returns false in case of error .
bool FullyConnected::Serialize(TFile *fp) const {
  if (!Network::Serialize(fp)) {
    return false;
  }
  if (!weights_.Serialize(IsTraining(), fp)) {
    return false;
  }
  return true;
}
bool FullyConnected :: Serialize ( TFile * fp ) const { if ( ! Network :: Serialize ( fp ) ) { return false ; } if ( ! weights_ . Serialize ( IsTraining ( ) , fp ) ) { return false ; } return true ; }
Writes to the given file.
Writes to the given file .