public static class CropAndResize.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 |
---|---|
float |
extrapolation_value_() |
CropAndResize.Attrs |
extrapolation_value_(float setter) |
CropAndResize.Attrs |
ExtrapolationValue(float x)
Value used for extrapolation, when applicable.
|
CropAndResize.Attrs |
getPointer(long i) |
BytePointer |
method_() |
CropAndResize.Attrs |
method_(BytePointer setter) |
CropAndResize.Attrs |
Method(BytePointer x)
A string specifying the sampling method for resizing.
|
CropAndResize.Attrs |
Method(String x) |
CropAndResize.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 CropAndResize.Attrs position(long position)
public CropAndResize.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public CropAndResize.Attrs Method(@tensorflow.StringPiece BytePointer x)
"bilinear"
or "nearest"
and default to "bilinear"
. Currently two sampling
methods are supported: Bilinear and Nearest Neighbor.
Defaults to "bilinear"@ByVal public CropAndResize.Attrs Method(@tensorflow.StringPiece String x)
@ByVal public CropAndResize.Attrs ExtrapolationValue(float x)
@tensorflow.StringPiece public BytePointer method_()
public CropAndResize.Attrs method_(BytePointer setter)
public float extrapolation_value_()
public CropAndResize.Attrs extrapolation_value_(float setter)
Copyright © 2022. All rights reserved.