@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SparseReduceMax extends Pointer
tf.reduce_max()
. In particular, this Op also returns a dense Tensor
instead of a sparse one.
Reduces sp_input
along the dimensions given in reduction_axes
. Unless
keep_dims
is true, the rank of the tensor is reduced by 1 for each entry in
reduction_axes
. If keep_dims
is true, the reduced dimensions are retained
with length 1.
If reduction_axes
has no entries, all dimensions are reduced, and a tensor
with a single element is returned. Additionally, the axes can be negative,
which are interpreted according to the indexing rules in Python.
Arguments:
* scope: A Scope object
* input_indices: 2-D. N x R
matrix with the indices of non-empty values in a
SparseTensor, possibly not in canonical ordering.
* input_values: 1-D. N
non-empty values corresponding to input_indices
.
* input_shape: 1-D. Shape of the input SparseTensor.
* reduction_axes: 1-D. Length-K
vector containing the reduction axes.
Optional attributes (see Attrs
):
* keep_dims: If true, retain reduced dimensions with length 1.
Returns:
* Output
: R-K
-D. The reduced Tensor.Modifier and Type | Class and Description |
---|---|
static class |
SparseReduceMax.Attrs
Optional attribute setters for SparseReduceMax
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SparseReduceMax(Pointer p)
Pointer cast constructor.
|
SparseReduceMax(Scope scope,
Input input_indices,
Input input_values,
Input input_shape,
Input reduction_axes) |
SparseReduceMax(Scope scope,
Input input_indices,
Input input_values,
Input input_shape,
Input reduction_axes,
SparseReduceMax.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static SparseReduceMax.Attrs |
KeepDims(boolean x) |
Node |
node() |
Operation |
operation() |
SparseReduceMax |
operation(Operation setter) |
Output |
output() |
SparseReduceMax |
output(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public SparseReduceMax(Pointer p)
Pointer(Pointer)
.public SparseReduceMax(@Const @ByRef Scope scope, @ByVal Input input_indices, @ByVal Input input_values, @ByVal Input input_shape, @ByVal Input reduction_axes)
public Node node()
@ByVal public static SparseReduceMax.Attrs KeepDims(@Cast(value="bool") boolean x)
public SparseReduceMax operation(Operation setter)
public SparseReduceMax output(Output setter)
Copyright © 2022. All rights reserved.