Fix typo in encoders.py documentation

This commit is contained in:
Spencer Schaber 2017-04-22 17:27:12 -05:00 committed by GitHub
parent 640963a1e1
commit 092172c32c

View File

@ -121,7 +121,7 @@ def embed_sequence(ids,
`Tensor` of `[batch_size, doc_length, embed_dim]` with embedded sequences. `Tensor` of `[batch_size, doc_length, embed_dim]` with embedded sequences.
Raises: Raises:
ValueError: if `embed_dim` or `vocab_size` are not specified when not ValueError: if `embed_dim` or `vocab_size` are not specified when
`reuse` is `None` or `False`. `reuse` is `None` or `False`.
""" """
if not (reuse or (vocab_size and embed_dim)): if not (reuse or (vocab_size and embed_dim)):