code: def chisquare(df, size=None, dtype=None, device=None):
      return ivy.experimental.gamma(
          df * 0.5,
          0.5,
          shape=size,
          dtype=dtype,
          device=device,
      )
  
file_path: ivy/ivy/functional/frontends/mxnet/numpy/random.py
imports: import ivy
  from ivy.functional.frontends.mxnet.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 2 for calling a global function with example usage: chisquare(df, size, dtype, device) and returns: ivy