public static class FractionalMaxPool.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 |
---|---|
boolean |
deterministic_() |
FractionalMaxPool.Attrs |
deterministic_(boolean setter) |
FractionalMaxPool.Attrs |
Deterministic(boolean x)
When set to True, a fixed pooling region will be used when
iterating over a FractionalMaxPool node in the computation graph.
|
FractionalMaxPool.Attrs |
getPointer(long i) |
boolean |
overlapping_() |
FractionalMaxPool.Attrs |
overlapping_(boolean setter) |
FractionalMaxPool.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.
|
FractionalMaxPool.Attrs |
position(long position) |
boolean |
pseudo_random_() |
FractionalMaxPool.Attrs |
pseudo_random_(boolean setter) |
FractionalMaxPool.Attrs |
PseudoRandom(boolean x)
When set to True, generates the pooling sequence in a
pseudorandom fashion, otherwise, in a random fashion.
|
long |
seed_() |
FractionalMaxPool.Attrs |
seed_(long setter) |
FractionalMaxPool.Attrs |
Seed(long x)
If either seed or seed2 are set to be non-zero, the random number
generator is seeded by the given seed.
|
long |
seed2_() |
FractionalMaxPool.Attrs |
seed2_(long setter) |
FractionalMaxPool.Attrs |
Seed2(long x)
An second seed to avoid seed collision.
|
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 FractionalMaxPool.Attrs position(long position)
public FractionalMaxPool.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public FractionalMaxPool.Attrs PseudoRandom(@Cast(value="bool") boolean x)
@ByVal public FractionalMaxPool.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 [20, 16] for fractional max pooling.
Defaults to false@ByVal public FractionalMaxPool.Attrs Deterministic(@Cast(value="bool") boolean x)
@ByVal public FractionalMaxPool.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public FractionalMaxPool.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
public FractionalMaxPool.Attrs pseudo_random_(boolean setter)
public FractionalMaxPool.Attrs overlapping_(boolean setter)
public FractionalMaxPool.Attrs deterministic_(boolean setter)
public FractionalMaxPool.Attrs seed_(long setter)
public FractionalMaxPool.Attrs seed2_(long setter)
Copyright © 2022. All rights reserved.