Merge pull request #9386 from schaber/schaber-patch-1
Fix typo in encoders.py documentation
This commit is contained in:
commit
34c738cc6d
@ -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)):
|
||||||
|
Loading…
Reference in New Issue
Block a user