class_docstr: Base class for parameter initialization.
  
  Methods
  -------
  sample(shape, return_array=False)
      Returns tensorflow's tensor or numpy array with specified
      shape. Type of the object depends on the ``return_array`` value.
      Numpy array will be returned when ``return_array=True`` and
      tensor otherwise.
class_docstr_tok: ["Base","class","for","parameter","initialization",".","Methods","--","--","--","-","sample","(","shape",",","return_array=False",")","Returns","tensorflow","'s","tensor","or","numpy","array","with","specified","shape",".","Type","of","the","object","depends","on","the","``","return_array","``","value",".","Numpy","array","will","be","returned","when","``","return_array=True","``","and","tensor","otherwise","."]
docstr: Returns tensorflow's tensor with specified shape.
  
  Parameters
  ----------
  shape : tuple
      Parameter shape.
  
  return_array : bool
      Returns numpy's array when equal to ``True``
      and tensorflow's tensor when equal to ``False``.
      Defaults to ``False``.
  
  Returns
  -------
  array-like or Tensor
docstr_tok: ["Returns","tensorflow","'s","tensor","with","specified","shape",".","Parameters","--","--","--","--","--","shape",":","tuple","Parameter","shape",".","return_array",":","bool","Returns","numpy","'s","array","when","equal","to","``","True","``","and","tensorflow","'s","tensor","when","equal","to","``","False","``",".","Defaults","to","``","False","``",".","Returns","--","--","--","-","array-like","or","Tensor"]
code: def sample(self, shape, return_array=False):
      """
      Returns tensorflow's tensor with specified shape.
  
      Parameters
      ----------
      shape : tuple
          Parameter shape.
  
      return_array : bool
          Returns numpy's array when equal to ``True``
          and tensorflow's tensor when equal to ``False``.
          Defaults to ``False``.
  
      Returns
      -------
      array-like or Tensor
      """
      raise NotImplementedError
  
imports: import abc
  import six
  import numpy
  import tensorflow
  from neupy.core.docs import SharedDocsABCMeta
label_desc: Use image node_id 1 for calling the Initializer obj's underlying member method code with example usage: obj.sample(shape, return_array) without return types