(self, param)
Fill the provided tensor with random values drawn from the Uniform
        distribution, using normalized bounds.

        Args:
            params (tensor): Tensor to fill
Fill the provided tensor with random values drawn from the Uniform
        distribution, using normalized bounds.
Fill the provided tensor with random values drawn from the Uniform distribution using normalized bounds .
def fill(self, param):
        """
        Fill the provided tensor with random values drawn from the Uniform
        distribution, using normalized bounds.

        Args:
            params (tensor): Tensor to fill
        """
        fan_in = param.shape[0 if self.local else 1]
        scale = np.sqrt(3. / fan_in)
        param[:] = self.be.rng.uniform(-scale, scale, param.shape)
def fill ( self , param ) : fan_in = param . shape [ 0 if self . local else 1 ] scale = np . sqrt ( 3. / fan_in ) param [ : ] = self . be . rng . uniform ( - scale , scale , param . shape )