class_docstr: Create a Gumble distribution object
  
  Parameters
  ----------
  loc : Tensor or scalar, default 0
      Location parameter of the distribution.
  scale : Tensor or scalar, default 1
      Scale parameter of the distribution
class_docstr_tok: ["Create","a","Gumble","distribution","object","Parameters","--","--","--","--","--","loc",":","Tensor","or","scalar",",","default","0","Location","parameter","of","the","distribution",".","scale",":","Tensor","or","scalar",",","default","1","Scale","parameter","of","the","distribution"]
code: def sample(self, size=None):
      return np.random.gumbel(self.loc, self.scale, size)
  
file_path: mxnet/python/mxnet/gluon/probability/distributions/gumbel.py
imports: import math
  from numpy import euler_gamma
  from .distribution import Distribution
  from .constraint import Real, Positive
  from .utils import sample_n_shape_converter
  from ....None import np
label_desc: Use image node_id 6 for calling the Gumbel obj's underlying member method code with example usage: obj.sample(size) and returns: np