class_docstr: Converts samples from a uniform into sample from a multinomial.
class_docstr_tok: ["Converts","samples","from","a","uniform","into","sample","from","a","multinomial","."]
code: def grad(self, ins, outgrads):
      pvals, unis, n = ins
      (gz,) = outgrads
      return [
          T.zeros_like(x, dtype=theano.config.floatX)
          if x.dtype in T.discrete_dtypes
          else T.zeros_like(x)
          for x in ins
      ]
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import warnings
  import theano
  from theano import Op, Apply
  import theano.tensor
  from theano.scalar import as_scalar
  import copy
label_desc: Use image node_id 5 for calling the MultinomialFromUniform obj's underlying member method code with example usage: obj.grad(ins, outgrads) and returns: unknown