code: def __init__(self, type_, dim, normalization=None, is_gen_flag=False):
      self.type_ = type_
      self.dim = dim
      self.normalization = normalization
      # gen flag is explained in appendix B, right below table 8.
      self.is_gen_flag = is_gen_flag
  
      if type_ == OutputType.CONTINUOUS and normalization is None:
          from bigdl.nano.utils.common import invalidInputError
  
          invalidInputError(
              False, "normalization must be set for continuous output"
          )
  
file_path: BigDL/python/chronos/src/bigdl/chronos/simulator/doppelganger/output.py
imports: from enum import Enum
label_desc: Use image node_id 1 to create a new Output object from inherited base classes: object with example: obj = Output(type_, dim, normalization, is_gen_flag)