Skip to content

Commit

Permalink
Update SinusoidsPositionEmbedder doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu authored and huzecong committed Jul 2, 2019
1 parent 5a90686 commit dd4b67b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion texar/modules/embedders/position_embedders.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ class SinusoidsPositionEmbedder(EmbedderBase):
Args:
position_size (int): The number of possible positions, e.g., the maximum
sequence length.
sequence length. Set ``position_size=None`` and
``hparams['cache_embeddings']=False`` to use arbitrarily large or
negative position indices.
.. document private functions
"""
Expand Down

0 comments on commit dd4b67b

Please sign in to comment.