'Registers parameters.'

def __setattr__(self, name, value):

    super(HybridBlock, self).__setattr__(name, value)
    if isinstance(value, Parameter):
        assert ((name not in self._reg_params) or (not isinstance(self._reg_params[name], Parameter))), 'Overriding    Parameter    attribute    %s    is    not    allowed.    Please    pass    in    Parameters    by    specifying    `params`    at    Block    construction    instead.'
        self._reg_params[name] = value
