code: def sample_n_shape_converter(size):
      """Convert `size` to the proper format for performing sample_n."""
      if size is None:
          return size
      if size == ():
          size = None
      else:
          if isinstance(size, int):
              size = (size,)
          size = (-2,) + size
      return size
  
file_path: mxnet/python/mxnet/gluon/probability/distributions/utils.py
imports: from functools import update_wrapper
  from numbers import Number
  import numpy
  from ....None import np, npx
label_desc: Use image node_id 6 for calling a global function with example usage: sample_n_shape_converter(size) and returns: size, size