@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.ScatterMin extends Pointer
min operation.
This operation computes
# Scalar indices
ref[indices, ...] = min(ref[indices, ...], updates[...])
# Vector indices (for each i)
ref[indices[i], ...] = min(ref[indices[i], ...], updates[i, ...])
# High rank indices (for each i, ..., j)
ref[indices[i, ..., j], ...] = min(ref[indices[i, ..., j], ...], updates[i, ..., j, ...])
This operation outputs ref after the update is done.
This makes it easier to chain operations that need to use the reset value.
Duplicate entries are handled correctly: if multiple indices reference
the same location, their contributions combine.
Requires updates.shape = indices.shape + ref.shape[1:] or updates.shape = [].
Variable node.
* indices: A tensor of indices into the first dimension of ref.
* updates: A tensor of updated values to reduce into ref.
Optional attributes (see Attrs):
* use_locking: If True, the update will be protected by a lock;
otherwise the behavior is undefined, but may exhibit less contention.
Returns:
* Output: = Same as ref. Returned as a convenience for operations that want
to use the updated values after the update is done.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.ScatterMin.Attrs
Optional attribute setters for ScatterMin
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
ScatterMin(Pointer p)
Pointer cast constructor.
|
ScatterMin(tensorflow.Scope scope,
tensorflow.Input ref,
tensorflow.Input indices,
tensorflow.Input updates) |
ScatterMin(tensorflow.Scope scope,
tensorflow.Input ref,
tensorflow.Input indices,
tensorflow.Input updates,
tensorflow.ScatterMin.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.ScatterMin |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output_ref() |
tensorflow.ScatterMin |
output_ref(tensorflow.Output output_ref) |
static tensorflow.ScatterMin.Attrs |
UseLocking(boolean x) |
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 ScatterMin(Pointer p)
Pointer.Pointer(Pointer).public ScatterMin(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input ref, @ByVal tensorflow.Input indices, @ByVal tensorflow.Input updates)
public ScatterMin(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input ref, @ByVal tensorflow.Input indices, @ByVal tensorflow.Input updates, @Const @ByRef tensorflow.ScatterMin.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.ScatterMin.Attrs UseLocking(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.ScatterMin operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output_ref()
public tensorflow.ScatterMin output_ref(tensorflow.Output output_ref)
Copyright © 2019. All rights reserved.