LearnedUnigramCandidateSampler.Options

public static class LearnedUnigramCandidateSampler.Options

Optional attributes for LearnedUnigramCandidateSampler

Public Methods

LearnedUnigramCandidateSampler.Options
seed (Long seed)
LearnedUnigramCandidateSampler.Options
seed2 (Long seed2)

Inherited Methods

Public Methods

public LearnedUnigramCandidateSampler.Options seed (Long seed)

Parameters
seed If either seed or seed2 are set to be non-zero, the random number generator is seeded by the given seed. Otherwise, it is seeded by a random seed.

public LearnedUnigramCandidateSampler.Options seed2 (Long seed2)

Parameters
seed2 An second seed to avoid seed collision.