def init_params(self, shape):
        self.W = self.be.empty(shape, **self.get_param_attrs())
        self.dW = self.be.empty_like(self.W)
        self.states = []

        if isinstance(self.init, Tensor) or isinstance(self.init, np.ndarray):
            assert self.init.shape == self.W.shape, "Initial weights shape does not match"
            self.W[:] = self.init
        else:
            self.init.fill(self.W)
Convenient access to <rs:ln rel="describedby" href="uri">
dataset/ETHPy150Open NervanaSystems/neon/neon/layers/layer.py/ParameterLayer.init_params--crossover with--dataset/ETHPy150Open resync/resync/resync/resource.py/Resource.describedby