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 dd22ef1 commit ebc9532
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lagom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class Seeder(object):
Given an initial seed, the seeder can be called continuously to sample a single
or a batch of random seeds.
Example::
>>> seeder = Seeder(init_seed=0)
>>> seeder(size=5)
[209652396, 398764591, 924231285, 1478610112, 441365315]
"""

def __init__(self, init_seed=0):
Expand Down

0 comments on commit ebc9532

Please sign in to comment.