deepy/layers/layer.py
def register_parameters(self, *parameters):
        """
        Register parameters.
        """
        for param in parameters:
            self.parameter_count += np.prod(param.get_value().shape)
        self.parameters.extend(parameters)
def register_parameters(self, *parameters):
        for param in parameters:
            self.parameter_count += np.prod(param.get_value().shape)
        self.parameters.extend(parameters)
def register_parameters ( self , * parameters ) : for param in parameters : self . parameter_count += np . prod ( param . get_value ( ) . shape ) self . parameters . extend ( parameters )
Register parameters.
Register parameters .