class_docstr: Module component with similar interface to numpy.random
  (numpy.random.RandomState)
  
  Parameters
  ----------
  seed: None or int
      A default seed to initialize the RandomState
      instances after build.  See `RandomStreamsInstance.__init__`
      for more details.
docstr: Retrieve the numpy RandomState instance associated with a particular
  stream.
  
  Parameters
  ----------
  item
      A variable of type RandomStateType, associated
      with this RandomStream.
  
  Returns
  -------
  numpy RandomState (or None, before initialize)
  
  Notes
  -----
  This is kept for compatibility with `tensor.randomstreams.RandomStreams`.
  The simpler syntax ``item.rng.get_value()`` is also valid.
docstr_tok: ["Retrieve","the","numpy","RandomState","instance","associated","with","a","particular","stream",".","Parameters","--","--","--","--","--","item","A","variable","of","type","RandomStateType",",","associated","with","this","RandomStream",".","Returns","--","--","--","-","numpy","RandomState","(","or","None",",","before","initialize",")","Notes","--","--","-","This","is","kept","for","compatibility","with","`","tensor.randomstreams.RandomStreams","`",".","The","simpler","syntax","``","item.rng.get_value","(",")","``","is","also","valid","."]
code: def __getitem__(self, item):
      """
      Retrieve the numpy RandomState instance associated with a particular
      stream.
  
      Parameters
      ----------
      item
          A variable of type RandomStateType, associated
          with this RandomStream.
  
      Returns
      -------
      numpy RandomState (or None, before initialize)
  
      Notes
      -----
      This is kept for compatibility with `tensor.randomstreams.RandomStreams`.
      The simpler syntax ``item.rng.get_value()`` is also valid.
  
      """
      return item.get_value(borrow=True)
  
file_path: Theano/theano/tensor/shared_randomstreams.py
imports: from __future__ import absolute_import, print_function, division
  import copy
  import numpy
  from theano.compile.sharedvalue import SharedVariable, shared_constructor, shared
  from theano.tensor import raw_random
label_desc: Use image node_id 4 for calling the RandomStreams obj's underlying member method code with example usage: obj.__getitem__(item) and returns: item