@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class ISliceLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ISliceLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
nvinfer.SampleMode |
getMode()
\brief Get the slice mode.
|
Dims32 |
getSize()
\brief Get dimensions of the output slice.
|
Dims32 |
getStart()
\brief Get the start offset for the slice layer.
|
Dims32 |
getStride()
\brief Get the stride for the output slice.
|
void |
setMode(int mode) |
void |
setMode(nvinfer.SampleMode mode)
\brief Set the slice mode.
|
void |
setSize(Dims32 size)
\brief Set the dimensions of the output slice.
|
void |
setStart(Dims32 start)
\brief Set the start offset that the slice layer uses to create the output slice.
|
void |
setStride(Dims32 stride)
\brief Set the stride for computing the output slice data.
|
getInput, getMetadata, getName, getNbInputs, getNbOutputs, getOutput, getOutputType, getPrecision, getType, outputTypeIsSet, precisionIsSet, resetOutputType, resetPrecision, setInput, setMetadata, setMetadata, setName, setName, setOutputType, setOutputType, setPrecision, setPrecisionaddress, 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, zeropublic ISliceLayer(Pointer p)
Pointer(Pointer).@NoException(value=true) public void setStart(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 start)
start - The start offset to read data from the input tensor.
If a second input had been used to create this layer, that input is reset to null by this method.getStart@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getStart()
setStart@NoException(value=true) public void setSize(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 size)
size - The dimensions of the output slice.
If a third input had been used to create this layer, that input is reset to null by this method.getSize@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getSize()
setSize@NoException(value=true) public void setStride(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 stride)
stride - The dimensions of the stride to compute the values to store in the output slice.
If a fourth input had been used to create this layer, that input is reset to null by this method.getStride@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getStride()
setStride@NoException(value=true) public void setMode(nvinfer.SampleMode mode)
getMode()@NoException(value=true) public void setMode(@Cast(value="nvinfer1::SampleMode") int mode)
@NoException(value=true) public nvinfer.SampleMode getMode()
setMode()Copyright © 2024. All rights reserved.