class_docstr: Base class for parameter tensor initializers.
  
  The :class:`Initializer` class represents a weight initializer used
  to initialize weight parameters in a neural network layer. It should be
  subclassed when implementing new types of weight initializers.
class_docstr_tok: ["Base","class","for","parameter","tensor","initializers",".","The",":","class",":","`","Initializer","`","class","represents","a","weight","initializer","used","to","initialize","weight","parameters","in","a","neural","network","layer",".","It","should","be","subclassed","when","implementing","new","types","of","weight","initializers","."]
docstr: Sample should return a theano.tensor of size shape and data type
  theano.config.floatX.
  
  Parameters
  -----------
  shape : tuple or int
      Integer or tuple specifying the size of the returned
      matrix.
  returns : theano.tensor
      Matrix of size shape and dtype theano.config.floatX.
docstr_tok: ["Sample","should","return","a","theano.tensor","of","size","shape","and","data","type","theano.config.floatX",".","Parameters","--","--","--","--","--","-","shape",":","tuple","or","int","Integer","or","tuple","specifying","the","size","of","the","returned","matrix",".","returns",":","theano.tensor","Matrix","of","size","shape","and","dtype","theano.config.floatX","."]
code: def sample(self, shape):
      """
      Sample should return a theano.tensor of size shape and data type
      theano.config.floatX.
  
      Parameters
      -----------
      shape : tuple or int
          Integer or tuple specifying the size of the returned
          matrix.
      returns : theano.tensor
          Matrix of size shape and dtype theano.config.floatX.
      """
      raise NotImplementedError()
  
imports: import numpy
  from .utils import floatX
  from .random import get_rng
label_desc: Use image node_id 2 for calling the Initializer obj's underlying member method code with example usage: obj.sample(shape) without return types