@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IAlgorithmIOInfo extends INoCopy
IAlgorithmVariant, IAlgorithm, IAlgorithmSelector::selectAlgorithms()
\warning Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IAlgorithmIOInfo(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getComponentsPerElement()
\brief Return the number of components per element.
|
nvinfer.DataType |
getDataType()
\brief Return DataType of the input/output of algorithm.
|
Dims32 |
getStrides()
\brief Return strides of the input/output tensor of algorithm.
|
nvinfer.TensorFormat |
getTensorFormat()
Deprecated.
Deprecated in TensorRT 8.6. The strides, data type, and vectorization
information is sufficient to uniquely identify tensor formats.
|
long |
getVectorizedDim()
\brief Return the index of the vectorized dimension or -1 for non-vectorized formats.
|
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 IAlgorithmIOInfo(Pointer p)
Pointer(Pointer)
.@Deprecated @NoException(value=true) public nvinfer.TensorFormat getTensorFormat()
@NoException(value=true) public nvinfer.DataType getDataType()
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getStrides()
@Cast(value="int64_t") @NoException(value=true) public long getVectorizedDim()
@Cast(value="int64_t") @NoException(value=true) public long getComponentsPerElement()
Copyright © 2024. All rights reserved.