code: def __init__(self, keepdim: bool = False, time_first: bool = True):
      super().__init__()
      self.keepdim = keepdim
      self.time_first = time_first
  
file_path: gluonts/src/gluonts/nursery/robust-mts-attack/pts/modules/scaler.py
imports: from abc import ABC, abstractmethod
  from typing import Tuple
  import torch
  import torch.nn
  from gluonts.core.component import validated
label_desc: Use image node_id 1 to create a new Scaler object from inherited base classes: ABC, nn with example: obj = Scaler(keepdim, time_first)