Skip to content

Commit

Permalink
Modified docstrings of transformer drop-in replacements.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaefl committed Jan 31, 2022
1 parent d6d88c8 commit f56f929
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hflayers/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def output_size(self) -> int:


class HopfieldDecoderLayer(Module):
"""
Module with underlying Hopfield associations to be used as a decoder in transformer-like architectures.
"""

def __init__(self,
hopfield_association_self: Hopfield,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name=r'hopfield-layers',
version=r'1.0.1',
version=r'1.0.2',
author=r'Bernhard Schäfl',
author_email=r'schaefl@ml.jku.at',
url=r'https://github.com/ml-jku/hopfield-layers',
Expand Down

0 comments on commit f56f929

Please sign in to comment.