@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IConvolutionLayer extends ILayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
IConvolutionLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Weights |
getBiasWeights()
\brief Get the bias weights for the convolution.
|
DimsHW |
getDilation()
Deprecated.
Superseded by getDilationNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
Dims32 |
getDilationNd()
\brief Get the multi-dimension dilation of the convolution.
|
DimsHW |
getKernelSize()
Deprecated.
Superseded by getKernelSizeNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
Dims32 |
getKernelSizeNd()
\brief Get the multi-dimension kernel size of the convolution.
|
Weights |
getKernelWeights()
\brief Get the kernel weights of the convolution.
|
int |
getNbGroups()
\brief Get the number of groups of the convolution.
|
int |
getNbOutputMaps()
\brief Get the number of output maps for the convolution.
|
DimsHW |
getPadding()
Deprecated.
Superseded by getPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
nvinfer.PaddingMode |
getPaddingMode()
\brief Get the padding mode.
|
Dims32 |
getPaddingNd()
\brief Get the multi-dimension padding of the convolution.
|
Dims32 |
getPostPadding()
\brief Get the post-padding.
|
Dims32 |
getPrePadding()
\brief Get the pre-padding.
|
DimsHW |
getStride()
Deprecated.
Superseded by getStrideNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
Dims32 |
getStrideNd()
\brief Get the multi-dimension stride of the convolution.
|
void |
setBiasWeights(Weights weights)
\brief Set the bias weights for the convolution.
|
void |
setDilation(DimsHW dilation)
Deprecated.
Superseded by setDilationNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
void |
setDilationNd(Dims32 dilation)
\brief Set the multi-dimension dilation of the convolution.
|
void |
setKernelSize(DimsHW kernelSize)
Deprecated.
Superseded by setKernelSizeNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
void |
setKernelSizeNd(Dims32 kernelSize)
\brief Set the multi-dimension kernel size of the convolution.
|
void |
setKernelWeights(Weights weights)
\brief Set the kernel weights for the convolution.
|
void |
setNbGroups(int nbGroups)
\brief Set the number of groups for a convolution.
|
void |
setNbOutputMaps(int nbOutputMaps)
\brief Set the number of output maps for the convolution.
|
void |
setPadding(DimsHW padding)
Deprecated.
Superseded by setPaddingNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
void |
setPaddingMode(int paddingMode) |
void |
setPaddingMode(nvinfer.PaddingMode paddingMode)
\brief Set the padding mode.
|
void |
setPaddingNd(Dims32 padding)
\brief Set the multi-dimension padding of the convolution.
|
void |
setPostPadding(Dims32 padding)
\brief Set the multi-dimension post-padding of the convolution.
|
void |
setPrePadding(Dims32 padding)
\brief Set the multi-dimension pre-padding of the convolution.
|
void |
setStride(DimsHW stride)
Deprecated.
Superseded by setStrideNd. Deprecated prior to TensorRT 8.0 and will be removed in 9.0
|
void |
setStrideNd(Dims32 stride)
\brief Set the multi-dimension stride of the convolution.
|
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 IConvolutionLayer(Pointer p)
Pointer(Pointer).@Deprecated @NoException(value=true) public void setKernelSize(@ByVal DimsHW kernelSize)
getKernelSize()@Deprecated @ByVal @NoException(value=true) public DimsHW getKernelSize()
setKernelSize()@NoException(value=true) public void setNbOutputMaps(int nbOutputMaps)
getNbOutputMaps()@NoException(value=true) public int getNbOutputMaps()
setNbOutputMaps()@Deprecated @NoException(value=true) public void setStride(@ByVal DimsHW stride)
getStride()@Deprecated @ByVal @NoException(value=true) public DimsHW getStride()
@Deprecated @NoException(value=true) public void setPadding(@ByVal DimsHW padding)
getPadding()@Deprecated @ByVal @NoException(value=true) public DimsHW getPadding()
setPadding()@NoException(value=true) public void setNbGroups(int nbGroups)
getNbGroups()@NoException(value=true) public int getNbGroups()
setNbGroups()@NoException(value=true) public void setKernelWeights(@ByVal Weights weights)
getKernelWeights()@ByVal @NoException(value=true) public Weights getKernelWeights()
setKernelWeights()@NoException(value=true) public void setBiasWeights(@ByVal Weights weights)
getBiasWeights()@ByVal @NoException(value=true) public Weights getBiasWeights()
setBiasWeights()@Deprecated @NoException(value=true) public void setDilation(@ByVal DimsHW dilation)
getDilation()@Deprecated @ByVal @NoException(value=true) public DimsHW getDilation()
setDilation()@NoException(value=true) public void setPrePadding(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 padding)
getPrePadding()@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getPrePadding()
setPrePadding()@NoException(value=true) public void setPostPadding(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 padding)
getPostPadding()@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getPostPadding()
setPostPadding()@NoException(value=true) public void setPaddingMode(nvinfer.PaddingMode paddingMode)
getPaddingMode()@NoException(value=true) public void setPaddingMode(@Cast(value="nvinfer1::PaddingMode") int paddingMode)
@NoException(value=true) public nvinfer.PaddingMode getPaddingMode()
setPaddingMode()@NoException(value=true) public void setKernelSizeNd(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 kernelSize)
getKernelSizeNd()@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getKernelSizeNd()
setKernelSizeNd()@NoException(value=true) public void setStrideNd(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 stride)
setStride() getStride()@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getStrideNd()
setStrideNd()@NoException(value=true) public void setPaddingNd(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 padding)
setPadding() getPadding()@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getPaddingNd()
setPaddingNd()@NoException(value=true) public void setDilationNd(@ByVal @Cast(value="nvinfer1::Dims*") Dims32 dilation)
getDilation()Copyright © 2024. All rights reserved.