public static class tensorflow.FractionalAvgPool.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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_() |
tensorflow.FractionalAvgPool.Attrs |
deterministic_(boolean deterministic_) |
tensorflow.FractionalAvgPool.Attrs |
Deterministic(boolean x)
When set to True, a fixed pooling region will be used when
iterating over a FractionalAvgPool node in the computation graph.
|
boolean |
overlapping_() |
tensorflow.FractionalAvgPool.Attrs |
overlapping_(boolean overlapping_) |
tensorflow.FractionalAvgPool.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.
|
tensorflow.FractionalAvgPool.Attrs |
position(long position) |
boolean |
pseudo_random_() |
tensorflow.FractionalAvgPool.Attrs |
pseudo_random_(boolean pseudo_random_) |
tensorflow.FractionalAvgPool.Attrs |
PseudoRandom(boolean x)
When set to True, generates the pooling sequence in a
pseudorandom fashion, otherwise, in a random fashion.
|
long |
seed_() |
tensorflow.FractionalAvgPool.Attrs |
seed_(long seed_) |
tensorflow.FractionalAvgPool.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_() |
tensorflow.FractionalAvgPool.Attrs |
seed2_(long seed2_) |
tensorflow.FractionalAvgPool.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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Attrs()
public Attrs(long size)
Pointer.position(long).public Attrs(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.FractionalAvgPool.Attrs position(long position)
@ByVal public tensorflow.FractionalAvgPool.Attrs PseudoRandom(@Cast(value="bool") boolean x)
@ByVal public tensorflow.FractionalAvgPool.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 false@ByVal public tensorflow.FractionalAvgPool.Attrs Deterministic(@Cast(value="bool") boolean x)
@ByVal public tensorflow.FractionalAvgPool.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.FractionalAvgPool.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
public tensorflow.FractionalAvgPool.Attrs pseudo_random_(boolean pseudo_random_)
public tensorflow.FractionalAvgPool.Attrs overlapping_(boolean overlapping_)
public tensorflow.FractionalAvgPool.Attrs deterministic_(boolean deterministic_)
public tensorflow.FractionalAvgPool.Attrs seed_(long seed_)
public tensorflow.FractionalAvgPool.Attrs seed2_(long seed2_)
Copyright © 2019. All rights reserved.