public static class ExtractGlimpse.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 |
centered_() |
ExtractGlimpse.Attrs |
centered_(boolean setter) |
ExtractGlimpse.Attrs |
Centered(boolean x)
indicates if the offset coordinates are centered relative to
the image, in which case the (0, 0) offset is relative to the center
of the input images.
|
ExtractGlimpse.Attrs |
getPointer(long i) |
BytePointer |
noise_() |
ExtractGlimpse.Attrs |
noise_(BytePointer setter) |
ExtractGlimpse.Attrs |
Noise(BytePointer x)
indicates if the noise should
uniform , gaussian , or
zero . |
ExtractGlimpse.Attrs |
Noise(String x) |
boolean |
normalized_() |
ExtractGlimpse.Attrs |
normalized_(boolean setter) |
ExtractGlimpse.Attrs |
Normalized(boolean x)
indicates if the offset coordinates are normalized.
|
ExtractGlimpse.Attrs |
position(long position) |
boolean |
uniform_noise_() |
ExtractGlimpse.Attrs |
uniform_noise_(boolean setter) |
ExtractGlimpse.Attrs |
UniformNoise(boolean x)
indicates if the noise should be generated using a
uniform distribution or a Gaussian distribution.
|
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 ExtractGlimpse.Attrs position(long position)
public ExtractGlimpse.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public ExtractGlimpse.Attrs Centered(@Cast(value="bool") boolean x)
@ByVal public ExtractGlimpse.Attrs Normalized(@Cast(value="bool") boolean x)
@ByVal public ExtractGlimpse.Attrs UniformNoise(@Cast(value="bool") boolean x)
@ByVal public ExtractGlimpse.Attrs Noise(@tensorflow.StringPiece BytePointer x)
uniform
, gaussian
, or
zero
. The default is uniform
which means the the noise type
will be decided by uniform_noise
.
Defaults to "uniform"@ByVal public ExtractGlimpse.Attrs Noise(@tensorflow.StringPiece String x)
public ExtractGlimpse.Attrs centered_(boolean setter)
public ExtractGlimpse.Attrs normalized_(boolean setter)
public ExtractGlimpse.Attrs uniform_noise_(boolean setter)
@tensorflow.StringPiece public BytePointer noise_()
public ExtractGlimpse.Attrs noise_(BytePointer setter)
Copyright © 2022. All rights reserved.