class_docstr: Initializer that generates tensors initialized to a constant value.
  
  Parameters
  ----------
  value : A python scalar or a numpy array.
      The assigned value.
class_docstr_tok: ["Initializer","that","generates","tensors","initialized","to","a","constant","value",".","Parameters","--","--","--","--","--","value",":","A","python","scalar","or","a","numpy","array",".","The","assigned","value","."]
code: def __call__(self, shape, dtype=None):
      return tf.constant(self.value, shape=shape, dtype=dtype)
  
imports: import numpy
  import tensorflow
label_desc: Use image node_id 2 for calling the Constant obj's underlying member method code with example usage: obj.__call__(shape, dtype) and returns: tf