class_docstr: Detection dataset wrapper that performs mixup for normal dataset.
  
  Parameters
  ----------
  dataset : mx.gluon.data.Dataset
      Gluon dataset object.
  mixup : callable random generator, e.g. np.random.uniform
      A random mixup ratio sampler, preferably a random generator from numpy.random
      A random float will be sampled each time with mixup(*args).
      Use None to disable.
  *args : list
      Additional arguments for mixup random sampler.
docstr: Set mixup random sampler, use None to disable.
  
  Parameters
  ----------
  mixup : callable random generator, e.g. np.random.uniform
      A random mixup ratio sampler, preferably a random generator from numpy.random
      A random float will be sampled each time with mixup(*args)
  *args : list
      Additional arguments for mixup random sampler.
docstr_tok: ["Set","mixup","random","sampler",",","use","None","to","disable",".","Parameters","--","--","--","--","--","mixup",":","callable","random","generator",",","e.g",".","np.random.uniform","A","random","mixup","ratio","sampler",",","preferably","a","random","generator","from","numpy.random","A","random","float","will","be","sampled","each","time","with","mixup","(","*","args",")","*","args",":","list","Additional","arguments","for","mixup","random","sampler","."]
code: def set_mixup(self, mixup=None, *args):
      """Set mixup random sampler, use None to disable.
  
      Parameters
      ----------
      mixup : callable random generator, e.g. np.random.uniform
          A random mixup ratio sampler, preferably a random generator from numpy.random
          A random float will be sampled each time with mixup(*args)
      *args : list
          Additional arguments for mixup random sampler.
  
      """
      self._mixup = mixup
      self._mixup_args = args
  
file_path: gluon-cv/gluoncv/data/mixup/detection.py
imports: from __future__ import absolute_import
  import numpy
  import mxnet
  from mxnet.gluon.data import Dataset
label_desc: Use image node_id 2 for calling the MixupDetection obj's underlying member method code with example usage: obj.set_mixup(mixup) without return types