src/lstm/series.cpp
int Series::XScaleFactor() const {
  int factor = 1;
  for (auto i : stack_) {
    factor *= i->XScaleFactor();
  }
  return factor;
}
// Returns an integer reduction factor that the network applies to the
// time sequence. Assumes that any 2-d is already eliminated. Used for
// scaling bounding boxes of truth data.
// WARNING: if GlobalMinimax is used to vary the scale, this will return
// the last used scale factor. Call it before any forward, and it will return
// the minimum scale factor of the paths through the GlobalMinimax.
Returns an integer reduction factor that the network applies to the
time sequence. Assumes that any 2-d is already eliminated. Used for
scaling bounding boxes of truth data.
WARNING: if GlobalMinimax is used to vary the scale, this will return
the last used scale factor. Call it before any forward, and it will return
the minimum scale factor of the paths through the GlobalMinimax.
Returns an integer reduction factor that the network applies to the time sequence . Assumes that any 2 - d is already eliminated . Used for scaling bounding boxes of truth data . WARNING : if GlobalMinimax is used to vary the scale this will return the last used scale factor . Call it before any forward and it will return the minimum scale factor of the paths through the GlobalMinimax .
int Series::XScaleFactor() const {
  int factor = 1;
  for (auto i : stack_) {
    factor *= i->XScaleFactor();
  }
  return factor;
}
int Series :: XScaleFactor ( ) const { int factor = 1 ; for ( auto i : stack_ ) { factor *= i -> XScaleFactor ( ) ; } return factor ; }
Returns an integer reduction factor that the network applies to the
time sequence.
Returns an integer reduction factor that the network applies to the time sequence .