def __init__(self, layer, filter_indices):
super(ActivationMaximization, self).__init__()<EOL>self.name = "<STR_LIT>"<EOL>self.layer = layer<EOL>self.filter_indices = utils.listify(filter_indices)<EOL>
Args:
    layer: The keras layer whose filters need to be maximized. This can either be a convolutional layer
        or a dense layer.
    filter_indices: filter indices within the layer to be maximized.
        For `keras.layers.Dense` layer, `filter_idx` is interpreted as the output index.

        If you are optimizing final `keras.layers.Dense` layer to maximize class output, you tend to get
        better results with 'linear' activation as opposed to 'softmax'. This is because 'softmax'
        output can be maximized by minimizing scores for other classes.