class_docstr: Base class for blocks used to scale data.
  
  Parameters
  ----------
  keepdims
      toggle to keep the dimension of the input tensor.
  axis
      specify the axis over which to scale. Default is 1 for (N, T, C)
      shaped input tensor.
code: def __init__(self, keepdims: bool = False, axis: int = 1):
      super().__init__()
      self.keepdims = keepdims
      self.axis = axis
  
imports: from typing import Tuple, Optional
  import mxnet.ndarray
  from mxnet.gluon import nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
label_desc: Use image node_id 1 to create a new Scaler object from inherited base classes: nn with example: obj = Scaler(keepdims, axis)