class_docstr: Converts samples from a uniform into sample (without replacement) from a
  multinomial.
class_docstr_tok: ["Converts","samples","from","a","uniform","into","sample","(","without","replacement",")","from","a","multinomial","."]
code: def __init__(self, odtype, replace=False, *args, **kwargs):
      self.replace = replace
      super(ChoiceFromUniform, self).__init__(
          odtype=odtype, *args, **kwargs
      )
  
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 1 to create a new ChoiceFromUniform object from inherited base classes: MultinomialFromUniform with example: obj = ChoiceFromUniform(odtype, replace)