@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.ComputeAccidentalHits 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 indices: A vector of indices corresponding to rows of true_candidates.
* Output ids: A vector of IDs of positions in sampled_candidates that match a true_label
for the row with the corresponding index in indices.
* Output weights: A vector of the same length as indices and ids, in which each element
is -FLOAT_MAX.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.ComputeAccidentalHits.Attrs
Optional attribute setters for ComputeAccidentalHits
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
ComputeAccidentalHits(Pointer p)
Pointer cast constructor.
|
ComputeAccidentalHits(tensorflow.Scope scope,
tensorflow.Input true_classes,
tensorflow.Input sampled_candidates,
long num_true) |
ComputeAccidentalHits(tensorflow.Scope scope,
tensorflow.Input true_classes,
tensorflow.Input sampled_candidates,
long num_true,
tensorflow.ComputeAccidentalHits.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Output |
ids() |
tensorflow.ComputeAccidentalHits |
ids(tensorflow.Output ids) |
tensorflow.Output |
indices() |
tensorflow.ComputeAccidentalHits |
indices(tensorflow.Output indices) |
tensorflow.Operation |
operation() |
tensorflow.ComputeAccidentalHits |
operation(tensorflow.Operation operation) |
static tensorflow.ComputeAccidentalHits.Attrs |
Seed(long x) |
static tensorflow.ComputeAccidentalHits.Attrs |
Seed2(long x) |
tensorflow.Output |
weights() |
tensorflow.ComputeAccidentalHits |
weights(tensorflow.Output weights) |
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 ComputeAccidentalHits(Pointer p)
Pointer.Pointer(Pointer).public ComputeAccidentalHits(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input true_classes, @ByVal tensorflow.Input sampled_candidates, @Cast(value="tensorflow::int64") long num_true)
public ComputeAccidentalHits(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input true_classes, @ByVal tensorflow.Input sampled_candidates, @Cast(value="tensorflow::int64") long num_true, @Const @ByRef tensorflow.ComputeAccidentalHits.Attrs attrs)
@ByVal public static tensorflow.ComputeAccidentalHits.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.ComputeAccidentalHits.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.ComputeAccidentalHits operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output indices()
public tensorflow.ComputeAccidentalHits indices(tensorflow.Output indices)
@ByRef public tensorflow.Output ids()
public tensorflow.ComputeAccidentalHits ids(tensorflow.Output ids)
@ByRef public tensorflow.Output weights()
public tensorflow.ComputeAccidentalHits weights(tensorflow.Output weights)
Copyright © 2019. All rights reserved.