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 __setstate__(self, state):
      self.__dict__.update(state)
      if "replace" not in state:
          self.replace = False
  
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 2 for calling the ChoiceFromUniform obj's underlying member method code with example usage: obj.__setstate__(state) without return types