src/lstm/series.cpp
StaticShape Series::OutputShape(const StaticShape &input_shape) const {
  StaticShape result(input_shape);
  int stack_size = stack_.size();
  for (int i = 0; i < stack_size; ++i) {
    result = stack_[i]->OutputShape(result);
  }
  return result;
}
// Returns the shape output from the network given an input shape (which may
// be partially unknown ie zero).
Returns the shape output from the network given an input shape (which may
be partially unknown ie zero).
Returns the shape output from the network given an input shape ( which may be partially unknown ie zero ) .
StaticShape Series::OutputShape(const StaticShape &input_shape) const {
  StaticShape result(input_shape);
  int stack_size = stack_.size();
  for (int i = 0; i < stack_size; ++i) {
    result = stack_[i]->OutputShape(result);
  }
  return result;
}
StaticShape Series :: OutputShape ( const StaticShape & input_shape ) const { StaticShape result ( input_shape ) ; int stack_size = stack_ . size ( ) ; for ( int i = 0 ; i < stack_size ; ++ i ) { result = stack_ [ i ] -> OutputShape ( result ) ; } return result ; }
Returns the shape output from the network given an input shape (which may
be partially unknown ie zero).
Returns the shape output from the network given an input shape ( which may be partially unknown ie zero ) .