Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zuoxingdong committed Aug 24, 2018
1 parent 485d6ca commit ab1becf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ __pycache__/
# Jupyter Notebook checkpoints
.ipynb_checkpoints/


# Read the Docs
docs/build



Expand Down
6 changes: 3 additions & 3 deletions lagom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class Seeder(object):
"""

def __init__(self, init_seed=0):
r"""
r"""Constructor.
Args:
init_seed (int, optional): Initial seed for generating random seeds.
"""
Expand All @@ -41,8 +42,7 @@ def __init__(self, init_seed=0):
self.max = np.iinfo(np.int32).max

def __call__(self, size=1):
r"""
Return the sampled random seeds according to the given size.
r"""Return the sampled random seeds according to the given size.
Args:
size (int or list): The size of random seeds to sample.
Expand Down

0 comments on commit ab1becf

Please sign in to comment.