src/lstm/series.cpp
void Series::AppendSeries(Network *src) {
  ASSERT_HOST(src->type() == NT_SERIES);
  auto *src_series = static_cast<Series *>(src);
  for (auto &s : src_series->stack_) {
    AddToStack(s);
    s = nullptr;
  }
  delete src;
}
// Appends the elements of the src series to this, removing from src and
// deleting it.
Appends the elements of the src series to this, removing from src and
deleting it.
Appends the elements of the src series to this removing from src and deleting it .
void Series::AppendSeries(Network *src) {
  ASSERT_HOST(src->type() == NT_SERIES);
  auto *src_series = static_cast<Series *>(src);
  for (auto &s : src_series->stack_) {
    AddToStack(s);
    s = nullptr;
  }
  delete src;
}
void Series :: AppendSeries ( Network * src ) { ASSERT_HOST ( src -> type ( ) == NT_SERIES ) ; auto * src_series = static_cast < Series * > ( src ) ; for ( auto & s : src_series -> stack_ ) { AddToStack ( s ) ; s = nullptr ; } delete src ; }
Appends the elements of the src series to this, removing from src and
deleting it.
Appends the elements of the src series to this removing from src and deleting it .