public static class QuantizedResizeBilinear.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 |
align_corners_() |
QuantizedResizeBilinear.Attrs |
align_corners_(boolean setter) |
QuantizedResizeBilinear.Attrs |
AlignCorners(boolean x)
If true, the centers of the 4 corner pixels of the input and output tensors are
aligned, preserving the values at the corner pixels.
|
QuantizedResizeBilinear.Attrs |
getPointer(long i) |
boolean |
half_pixel_centers_() |
QuantizedResizeBilinear.Attrs |
half_pixel_centers_(boolean setter) |
QuantizedResizeBilinear.Attrs |
HalfPixelCenters(boolean x)
Defaults to false
|
QuantizedResizeBilinear.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 QuantizedResizeBilinear.Attrs position(long position)
public QuantizedResizeBilinear.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public QuantizedResizeBilinear.Attrs AlignCorners(@Cast(value="bool") boolean x)
@ByVal public QuantizedResizeBilinear.Attrs HalfPixelCenters(@Cast(value="bool") boolean x)
public QuantizedResizeBilinear.Attrs align_corners_(boolean setter)
public QuantizedResizeBilinear.Attrs half_pixel_centers_(boolean setter)
Copyright © 2022. All rights reserved.