Skip to content

See RNN v1.1

Choose a tag to compare

@OverLordGoldDragon OverLordGoldDragon released this 28 Apr 14:18
· 44 commits to master since this release
45835c0

FEATURES:

  • Universal layer specifier, _id, that is a layer name, layer index, or list of either or of both
  • Enabled full customization of various plot aspects via configs dict; see docstrings & code
  • pip install support
  • Figure saving support on all visuals
  • Added weights_norm for computing & tracking layer weight norm statistics
  • Added features_hist_v2 for multi-hist grid visualization
  • Added features_hist for grid hist visualization
  • rnn_histogram and rnn_heatmap now plot bias w/ kernel & recurrent kernel in one figure
  • All plots now return fig and axes objects
  • All methods now deepcopy passed lists and dicts when mutating internally to not affect originals

BREAKING:

  • Several positional & keyword arguments deprecated in favor of configs
  • layer_name & layer_idx deprecated; _id now takes place of both, and can be a list containing both
  • label_channels in features_1D deprecated in favor of customizable annotations
  • show_features_ -> features_ (0D, 1D, 2D)
  • get_layer_outputs -> get_outputs
  • get_layer_weights -> get_weights
  • get_layer_gradients -> get_gradients
  • scale_width -> w
  • scale_height -> h

MISC:

  • Created _backend.py to move repeated declarations and env vars to
  • Improved docstrings
  • Improved code readability
  • Added tests
  • get_full_name added to inspect_gen.py for retrieving full layer name given _id
  • _filter_duplicates_by_keys added to utils.py
  • _save_rnn_figs added to utils.py
  • .flatten() -> .ravel(), since former copies array (thus slower)
  • (Bugfix) codecs.open -> open, as former's formatting of README.md in setup.py was overflowing package build metadata