@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class SparseSegmentMeanWithNumSegments extends Pointer
SparseSegmentMean
, but allows missing ids in segment_ids
. If an id is
misisng, the output
tensor at that position will be zeroed.
Read
[the section on segmentation](https://tensorflow.org/api_docs/python/tf/math#Segmentation)
for an explanation of segments.
Arguments:
* scope: A Scope object
* indices: A 1-D tensor. Has same rank as segment_ids
.
* segment_ids: A 1-D tensor. Values should be sorted and can be repeated.
* num_segments: Should equal the number of distinct segment IDs.
Returns:
* Output
: Has same shape as data, except for dimension 0 which has size
num_segments
.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SparseSegmentMeanWithNumSegments(Pointer p)
Pointer cast constructor.
|
SparseSegmentMeanWithNumSegments(Scope scope,
Input data,
Input indices,
Input segment_ids,
Input num_segments) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
SparseSegmentMeanWithNumSegments |
operation(Operation setter) |
Output |
output() |
SparseSegmentMeanWithNumSegments |
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 SparseSegmentMeanWithNumSegments(Pointer p)
Pointer(Pointer)
.public Node node()
public SparseSegmentMeanWithNumSegments operation(Operation setter)
public SparseSegmentMeanWithNumSegments output(Output setter)
Copyright © 2022. All rights reserved.