@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.LogUniformCandidateSampler extends Pointer
Attrs):
* 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.
* seed2: An second seed to avoid seed collision.
Returns:
* Output sampled_candidates: A vector of length num_sampled, in which each element is
the ID of a sampled candidate.
* Output true_expected_count: A batch_size * num_true matrix, representing
the number of times each candidate is expected to occur in a batch
of sampled candidates. If unique=true, then this is a probability.
* Output sampled_expected_count: A vector of length num_sampled, for each sampled
candidate representing the number of times the candidate is expected
to occur in a batch of sampled candidates. If unique=true, then this is a
probability.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.LogUniformCandidateSampler.Attrs
Optional attribute setters for LogUniformCandidateSampler
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
LogUniformCandidateSampler(Pointer p)
Pointer cast constructor.
|
LogUniformCandidateSampler(tensorflow.Scope scope,
tensorflow.Input true_classes,
long num_true,
long num_sampled,
boolean unique,
long range_max) |
LogUniformCandidateSampler(tensorflow.Scope scope,
tensorflow.Input true_classes,
long num_true,
long num_sampled,
boolean unique,
long range_max,
tensorflow.LogUniformCandidateSampler.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Operation |
operation() |
tensorflow.LogUniformCandidateSampler |
operation(tensorflow.Operation operation) |
tensorflow.Output |
sampled_candidates() |
tensorflow.LogUniformCandidateSampler |
sampled_candidates(tensorflow.Output sampled_candidates) |
tensorflow.Output |
sampled_expected_count() |
tensorflow.LogUniformCandidateSampler |
sampled_expected_count(tensorflow.Output sampled_expected_count) |
static tensorflow.LogUniformCandidateSampler.Attrs |
Seed(long x) |
static tensorflow.LogUniformCandidateSampler.Attrs |
Seed2(long x) |
tensorflow.Output |
true_expected_count() |
tensorflow.LogUniformCandidateSampler |
true_expected_count(tensorflow.Output true_expected_count) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic LogUniformCandidateSampler(Pointer p)
Pointer.Pointer(Pointer).public LogUniformCandidateSampler(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input true_classes, @Cast(value="tensorflow::int64") long num_true, @Cast(value="tensorflow::int64") long num_sampled, @Cast(value="bool") boolean unique, @Cast(value="tensorflow::int64") long range_max)
public LogUniformCandidateSampler(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input true_classes, @Cast(value="tensorflow::int64") long num_true, @Cast(value="tensorflow::int64") long num_sampled, @Cast(value="bool") boolean unique, @Cast(value="tensorflow::int64") long range_max, @Const @ByRef tensorflow.LogUniformCandidateSampler.Attrs attrs)
@ByVal public static tensorflow.LogUniformCandidateSampler.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.LogUniformCandidateSampler.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.LogUniformCandidateSampler operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output sampled_candidates()
public tensorflow.LogUniformCandidateSampler sampled_candidates(tensorflow.Output sampled_candidates)
@ByRef public tensorflow.Output true_expected_count()
public tensorflow.LogUniformCandidateSampler true_expected_count(tensorflow.Output true_expected_count)
@ByRef public tensorflow.Output sampled_expected_count()
public tensorflow.LogUniformCandidateSampler sampled_expected_count(tensorflow.Output sampled_expected_count)
Copyright © 2019. All rights reserved.