class_docstr: Initializer that generates tensors initialized to the given value.
class_docstr_tok: ["Initializer","that","generates","tensors","initialized","to","the","given","value","."]
code: def __call__(
      self, shape: types.ShapeLike, dtype: tf.DType
  ) -> tf.Tensor:
      dtype = _as_numerical_dtype(dtype)
      value = tf.convert_to_tensor(self.value, dtype)
      return tf.fill(value=value, dims=shape)
  
imports: import abc
  import collections
  from typing import Iterable, Mapping, Optional, Union
  import numpy
  from sonnet.src import types
  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