src/lstm/fullyconnected.cpp
void FullyConnected::CountAlternators(const Network &other, TFloat *same, TFloat *changed) const {
  ASSERT_HOST(other.type() == type_);
  const auto *fc = static_cast<const FullyConnected *>(&other);
  weights_.CountAlternators(fc->weights_, same, changed);
}
// Sums the products of weight updates in *this and other, splitting into
// positive (same direction) in *same and negative (different direction) in
// *changed.
Sums the products of weight updates in *this and other, splitting into
positive (same direction) in *same and negative (different direction) in
changed.
Sums the products of weight updates in * this and other splitting into positive ( same direction ) in * same and negative ( different direction ) in changed .
void FullyConnected::CountAlternators(const Network &other, TFloat *same, TFloat *changed) const {
  ASSERT_HOST(other.type() == type_);
  const auto *fc = static_cast<const FullyConnected *>(&other);
  weights_.CountAlternators(fc->weights_, same, changed);
}
void FullyConnected :: CountAlternators ( const Network & other , TFloat * same , TFloat * changed ) const { ASSERT_HOST ( other . type ( ) == type_ ) ; const auto * fc = static_cast < const FullyConnected * > ( & other ) ; weights_ . CountAlternators ( fc -> weights_ , same , changed ) ; }
Sums the products of weight updates in *this and other, splitting into
positive (same direction) in *same and negative (different direction) in
changed.
Sums the products of weight updates in * this and other splitting into positive ( same direction ) in * same and negative ( different direction ) in changed .