Skip to content

Commit

Permalink
Update SinusoidsPositionEmbedder doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Jul 2, 2019
1 parent 5a90686 commit ac58485
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 enable infinite large or
negative position indexes.
.. document private functions
"""
Expand Down

0 comments on commit ac58485

Please sign in to comment.