@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SparseReorder extends Pointer
R
and N
non-empty values, input_indices
has
shape [N, R]
, input_values has length N
, and input_shape has length R
.
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.
Returns:
* Output
output_indices: 2-D. N x R
matrix with the same indices as input_indices, but
in canonical row-major ordering.
* Output
output_values: 1-D. N
non-empty values corresponding to output_indices
.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SparseReorder(Pointer p)
Pointer cast constructor.
|
SparseReorder(Scope scope,
Input input_indices,
Input input_values,
Input input_shape) |
Modifier and Type | Method and Description |
---|---|
Operation |
operation() |
SparseReorder |
operation(Operation setter) |
Output |
output_indices() |
SparseReorder |
output_indices(Output setter) |
Output |
output_values() |
SparseReorder |
output_values(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 SparseReorder(Pointer p)
Pointer(Pointer)
.public SparseReorder operation(Operation setter)
public SparseReorder output_indices(Output setter)
public SparseReorder output_values(Output setter)
Copyright © 2022. All rights reserved.