Skip to content

Commit

Permalink
Merge pull request #41 from qwertpi/patch-1
Browse files Browse the repository at this point in the history
Corrected display_activations docstring
  • Loading branch information
Philippe Rémy authored May 31, 2019
2 parents 8660d66 + 542d24c commit 7a3c6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keract/keract.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_activations(model, x, layer_name=None):

def display_activations(activations, cmap=None, save=False):
"""
Plot heatmaps of activations for all filters for each layer
Plot the activations for each layer using matplotlib
:param activations: dict mapping layers to corresponding activations (1, output_h, output_w, num_filters)
:param cmap: string - a valid matplotlib colourmap to be used
:param save: bool- if the plot should be saved
Expand Down

0 comments on commit 7a3c6d4

Please sign in to comment.