class_docstr: Base class for distribution.
  
  Parameters
  ----------
  event_dim : int, default None
      Variable indicating the dimension of the distribution's support.
  validate_args : bool, default None
      Whether to validate the distribution parameters
docstr: Generate samples of (n + parameter_shape) from the distribution.
docstr_tok: ["Generate","samples","of","(","n","+","parameter_shape",")","from","the","distribution","."]
code: def sample_n(self, size):
      r"""
      Generate samples of (n + parameter_shape) from the distribution.
      """
      raise NotImplementedError
  
imports: from numbers import Number
  from .utils import cached_property
  from ....None import np
label_desc: Use image node_id 8 for calling the Distribution obj's underlying member method code with example usage: obj.sample_n(size) without return types