(self, param)
Fills the provided tensor.

        Args:
            param (tensor): target tensor to fill
Fills the provided tensor.
Fills the provided tensor .
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
def fill ( self , param ) : if isinstance ( self . val , Tensor ) : assert self . val . shape == param . shape , "Constant(Array) initializer can" " only fill a matching shape tensor" param [ : ] = self . val