def get_config(self):
        config = {'l1': self.l1,
                  'l2': self.l2}
        base_config = super(ActivityRegularization, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))
dataset/ETHPy150Open fchollet/keras/keras/layers/core.py/ActivityRegularization.get_config/original