public static class FractionalAvgPoolGrad.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FractionalAvgPoolGrad.Attrs |
getPointer(long i) |
boolean |
overlapping_() |
FractionalAvgPoolGrad.Attrs |
overlapping_(boolean setter) |
FractionalAvgPoolGrad.Attrs |
Overlapping(boolean x)
When set to True, it means when pooling, the values at the boundary
of adjacent pooling cells are used by both cells.
|
FractionalAvgPoolGrad.Attrs |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public FractionalAvgPoolGrad.Attrs position(long position)
public FractionalAvgPoolGrad.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public FractionalAvgPoolGrad.Attrs Overlapping(@Cast(value="bool") boolean x)
index 0 1 2 3 4
value 20 5 16 3 7
If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice.
The result would be [41/3, 26/3] for fractional avg pooling.
Defaults to falsepublic FractionalAvgPoolGrad.Attrs overlapping_(boolean setter)
Copyright © 2022. All rights reserved.