diff options
Diffstat (limited to 'tensorflow/contrib/layers/python/layers/encoders.py')
-rw-r--r-- | tensorflow/contrib/layers/python/layers/encoders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/layers/python/layers/encoders.py b/tensorflow/contrib/layers/python/layers/encoders.py index 8b6abb4b45..89c9d37bd0 100644 --- a/tensorflow/contrib/layers/python/layers/encoders.py +++ b/tensorflow/contrib/layers/python/layers/encoders.py @@ -121,7 +121,7 @@ def embed_sequence(ids, `Tensor` of `[batch_size, doc_length, embed_dim]` with embedded sequences. 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`. """ if not (reuse or (vocab_size and embed_dim)): |