mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 12:20:24 +01:00
Fixed wrong range in docstring (#10272)
This commit is contained in:
parent
d13ae380c3
commit
cd56a638da
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user