Skip to content

Commit

Permalink
ValueError docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao committed Aug 9, 2016
1 parent 8d42e52 commit 57be5db
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Binary file modified docs/_build/doctrees/user/more.doctree
Binary file not shown.
10 changes: 5 additions & 5 deletions tensorlayer/cost.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def li_regularizer(scale):
Raises
------
ValueError: if scale is outside of the range [0.0, 1.0] or if scale is not a float.
ValueError : if scale is outside of the range [0.0, 1.0] or if scale is not a float.
"""
import numbers
from tensorflow.python.framework import ops
Expand Down Expand Up @@ -117,7 +117,7 @@ def lo_regularizer(scale):
Raises
------
ValueError: If scale is outside of the range [0.0, 1.0] or if scale is not a float.
ValueError : If scale is outside of the range [0.0, 1.0] or if scale is not a float.
"""
import numbers
from tensorflow.python.framework import ops
Expand Down Expand Up @@ -166,7 +166,7 @@ def maxnorm_regularizer(scale=1.0):
Raises
--------
ValueError: If scale is outside of the range [0.0, 1.0] or if scale is not a float.
ValueError : If scale is outside of the range [0.0, 1.0] or if scale is not a float.
"""
import numbers
from tensorflow.python.framework import ops
Expand Down Expand Up @@ -210,7 +210,7 @@ def maxnorm_o_regularizer(scale):
Raises
---------
ValueError: If scale is outside of the range [0.0, 1.0] or if scale is not a float.
ValueError : If scale is outside of the range [0.0, 1.0] or if scale is not a float.
"""
import numbers
from tensorflow.python.framework import ops
Expand Down Expand Up @@ -254,7 +254,7 @@ def maxnorm_i_regularizer(scale):
Raises
---------
ValueError: If scale is outside of the range [0.0, 1.0] or if scale is not a float.
ValueError : If scale is outside of the range [0.0, 1.0] or if scale is not a float.
"""
import numbers
from tensorflow.python.framework import ops
Expand Down
2 changes: 1 addition & 1 deletion tensorlayer/iterate.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def ptb_iterator(raw_data, batch_size, num_steps):
Raises
------
ValueError, if batch_size or num_steps are too high.
ValueError : if batch_size or num_steps are too high.
Examples
--------
Expand Down
2 changes: 1 addition & 1 deletion tensorlayer/nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def initialize_vocabulary(vocabulary_path):
Raises
-------
ValueError: if the provided vocabulary_path does not exist.
ValueError : if the provided vocabulary_path does not exist.
"""
if gfile.Exists(vocabulary_path):
rev_vocab = []
Expand Down

0 comments on commit 57be5db

Please sign in to comment.