class_docstr: Based on [BJC19]_, apart from f and f_inv that are swapped.
class_docstr_tok: ["Based","on","[","BJC19","]","_",",","apart","from","f","and","f_inv","that","are","swapped","."]
code: def event_dim(self) -> int:
      return len(self.event_shape)
  
file_path: gluonts/src/gluonts/mx/distribution/iresnet.py
imports: import mxnet
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
  from gluonts.mx.util import _broadcast_param
  from gluonts.mx.block.snmlp import SNMLPBlock
  from gluonts.mx.distribution.distribution import getF
  from gluonts.mx.distribution.bijection import BijectionHybridBlock, ComposedBijectionHybridBlock
label_desc: Use image node_id 3 for calling the InvertibleResnetHybridBlock obj's underlying member method code with example usage: obj.event_dim() and returns: len