@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IGridSampleLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IGridSampleLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAlignCorners()
\brief Get the align corners mode.
|
nvinfer.InterpolationMode |
getInterpolationMode()
\brief Get the grid sample interpolation mode.
|
nvinfer.SampleMode |
getSampleMode()
\brief Get the sample mode.
|
void |
setAlignCorners(boolean alignCorners)
\brief Set the align corners mode.
|
void |
setInterpolationMode(int mode) |
void |
setInterpolationMode(nvinfer.InterpolationMode mode)
\brief Set the grid sample interpolation mode.
|
boolean |
setSampleMode(int mode) |
boolean |
setSampleMode(nvinfer.SampleMode mode)
\brief Set the sample mode.
|
getInput, getMetadata, getName, getNbInputs, getNbOutputs, getOutput, getOutputType, getPrecision, getType, outputTypeIsSet, precisionIsSet, resetOutputType, resetPrecision, setInput, setMetadata, setMetadata, setName, setName, setOutputType, setOutputType, setPrecision, setPrecision
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public IGridSampleLayer(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void setInterpolationMode(nvinfer.InterpolationMode mode)
getInterpolationMode()
@NoException(value=true) public void setInterpolationMode(@Cast(value="nvinfer1::InterpolationMode") int mode)
@NoException(value=true) public nvinfer.InterpolationMode getInterpolationMode()
setInterpolationMode()
@NoException(value=true) public void setAlignCorners(@Cast(value="bool") boolean alignCorners)
getAlignCorners()
@Cast(value="bool") @NoException(value=true) public boolean getAlignCorners()
setAlignCorners()
@Cast(value="bool") @NoException(value=true) public boolean setSampleMode(nvinfer.SampleMode mode)
getSampleMode()
@Cast(value="bool") @NoException(value=true) public boolean setSampleMode(@Cast(value="nvinfer1::SampleMode") int mode)
@NoException(value=true) public nvinfer.SampleMode getSampleMode()
setSampleMode()
Copyright © 2024. All rights reserved.