class_docstr: A class representing probability distributions.
class_docstr_tok: ["A","class","representing","probability","distributions","."]
docstr: Number of batch dimensions, i.e., length of the `batch_shape` tuple.
docstr_tok: ["Number","of","batch","dimensions",",","i.e.",",","length","of","the","`","batch_shape","`","tuple","."]
code: def batch_dim(self) -> int:
      r"""
      Number of batch dimensions, i.e., length of the `batch_shape` tuple.
      """
      return len(self.batch_shape)
  
imports: from typing import cast, Any, List, Optional, Tuple
  import mxnet
  import numpy
  from mxnet import autograd
  from gluonts.mx import Tensor
label_desc: Use image node_id 10 for calling the Distribution obj's underlying member method code with example usage: obj.batch_dim() and returns: len