@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VResizeLayer extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VResizeLayer(Pointer p)
Pointer cast constructor.
|
getPointer, positionaddress, 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, zeropublic VResizeLayer(Pointer p)
Pointer(Pointer).@NoException(value=true) public void setOutputDimensions(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 dimensions)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getOutputDimensions()
@NoException(value=true) public void setScales(@Const FloatPointer scales, int nbScales)
@NoException(value=true) public void setScales(@Const FloatBuffer scales, int nbScales)
@NoException(value=true) public void setScales(@Const float[] scales, int nbScales)
@NoException(value=true) public int getScales(int size, FloatPointer scales)
@NoException(value=true) public int getScales(int size, FloatBuffer scales)
@NoException(value=true) public int getScales(int size, float[] scales)
@NoException(value=true) public void setResizeMode(nvinfer.InterpolationMode resizeMode)
@NoException(value=true) public void setResizeMode(@Cast(value="nvinfer1::InterpolationMode") int resizeMode)
@NoException(value=true) public nvinfer.InterpolationMode getResizeMode()
@NoException(value=true) public void setAlignCorners(@Cast(value="bool") boolean alignCorners)
@Cast(value="bool") @NoException(value=true) public boolean getAlignCorners()
@NoException(value=true) public void setCoordinateTransformation(nvinfer.ResizeCoordinateTransformation coordTransform)
@NoException(value=true) public void setCoordinateTransformation(@Cast(value="nvinfer1::ResizeCoordinateTransformation") int coordTransform)
@NoException(value=true) public nvinfer.ResizeCoordinateTransformation getCoordinateTransformation()
@NoException(value=true) public void setSelectorForSinglePixel(nvinfer.ResizeSelector selector)
@NoException(value=true) public void setSelectorForSinglePixel(@Cast(value="nvinfer1::ResizeSelector") int selector)
@NoException(value=true) public nvinfer.ResizeSelector getSelectorForSinglePixel()
@NoException(value=true) public void setNearestRounding(nvinfer.ResizeRoundMode value)
@NoException(value=true) public void setNearestRounding(@Cast(value="nvinfer1::ResizeRoundMode") int value)
@NoException(value=true) public nvinfer.ResizeRoundMode getNearestRounding()
@NoException(value=true) public void setCubicCoeff(float value)
@NoException(value=true) public float getCubicCoeff()
@NoException(value=true) public void setExcludeOutside(@Cast(value="bool") boolean value)
@Cast(value="bool") @NoException(value=true) public boolean getExcludeOutside()
Copyright © 2024. All rights reserved.