Fixed wrong range in docstring (#10272)

This commit is contained in:
Beomsu Kim 2017-06-07 11:59:43 +09:00 committed by Jonathan Hseu
parent d13ae380c3
commit cd56a638da

View File

@ -249,7 +249,7 @@ def fixed_unigram_candidate_sampler(true_classes,
`distortion = 1.0` gives regular unigram sampling (as defined by the vocab
file), and `distortion = 0.0` gives a uniform distribution.
num_reserved_ids: Optionally some reserved IDs can be added in the range
`[0, num_reserved_ids]` by the users. One use case is that a special
`[0, num_reserved_ids)` by the users. One use case is that a special
unknown word token is used as ID 0. These IDs will have a sampling
probability of 0.
num_shards: A sampler can be used to sample from a subset of the original