class_docstr: Initializes parameters as a constant.
class_docstr_tok: ["Initializes","parameters","as","a","constant","."]
docstr: Fills the provided tensor.
  
  Args:
      param (tensor): target tensor to fill
docstr_tok: ["Fills","the","provided","tensor",".","Args",":","param","(","tensor",")",":","target","tensor","to","fill"]
code: def fill(self, param):
      """
      Fills the provided tensor.
  
      Args:
          param (tensor): target tensor to fill
      """
      if isinstance(self.val, Tensor):
          assert self.val.shape == param.shape, (
              "Constant(Array) initializer can"
              " only fill a matching shape tensor"
          )
      param[:] = self.val
  
imports: import numpy
  from neon import NervanaObject
  from neon.backends.backend import Tensor
label_desc: Use image node_id 2 for calling the Constant obj's underlying member method code with example usage: obj.fill(param) without return types