| Package | Description |
|---|---|
| org.bytedeco.javacpp |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.distortion_(float distortion_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Distortion(float x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Distortion(float x)
The distortion is used to skew the unigram probability distribution.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.num_reserved_ids_(long num_reserved_ids_) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.num_shards_(long num_shards_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.NumReservedIds(long x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.NumReservedIds(long x)
Optionally some reserved IDs can be added in the range [0,
..., num_reserved_ids) by the users.
|
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.NumShards(long x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.NumShards(long x)
A sampler can be used to sample from a subset of the original range
in order to speed up the whole computation through parallelism.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.position(long position) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.seed_(long seed_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Seed(long x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Seed(long x)
If either seed or seed2 are set to be non-zero, the random number
generator is seeded by the given seed.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.seed2_(long seed2_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Seed2(long x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Seed2(long x)
An second seed to avoid seed collision.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.shard_(long shard_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Shard(long x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Shard(long x)
A sampler can be used to sample from a subset of the original range
in order to speed up the whole computation through parallelism.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.unigrams_(FloatPointer unigrams_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Unigrams(float... x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Unigrams(float... x) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Unigrams(FloatBuffer x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Unigrams(FloatBuffer x) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Unigrams(FloatPointer x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.Unigrams(FloatPointer x)
A list of unigram counts or probabilities, one per ID in sequential
order.
|
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.vocab_file_(BytePointer vocab_file_) |
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.VocabFile(BytePointer x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.VocabFile(BytePointer x)
Each valid line in this file (which should have a CSV-like format)
corresponds to a valid word ID.
|
static tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.VocabFile(String x) |
tensorflow.FixedUnigramCandidateSampler.Attrs |
tensorflow.FixedUnigramCandidateSampler.Attrs.VocabFile(String x) |
| Constructor and Description |
|---|
FixedUnigramCandidateSampler(tensorflow.Scope scope,
tensorflow.Input true_classes,
long num_true,
long num_sampled,
boolean unique,
long range_max,
tensorflow.FixedUnigramCandidateSampler.Attrs attrs) |
Copyright © 2019. All rights reserved.