@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IAlgorithm extends INoCopy
IAlgorithmIOInfo, IAlgorithmVariant, 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 |
---|
IAlgorithm(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IAlgorithmIOInfo |
getAlgorithmIOInfo(int index)
Deprecated.
Deprecated in TensorRT 8.0. Superseded by IAlgorithm::getAlgorithmIOInfoByIndex().
|
IAlgorithmIOInfo |
getAlgorithmIOInfoByIndex(int index)
\brief Returns the format of an Algorithm input or output.
|
IAlgorithmVariant |
getAlgorithmVariant()
\brief Returns the algorithm variant.
|
float |
getTimingMSec()
\brief The time in milliseconds to execute the algorithm.
|
long |
getWorkspaceSize()
\brief The size of the GPU temporary memory in bytes which the algorithm uses at execution time.
|
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 IAlgorithm(Pointer p)
Pointer(Pointer)
.@Const @Deprecated @ByRef @NoException(value=true) public IAlgorithmIOInfo getAlgorithmIOInfo(int index)
index
- Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs
and the outputs.@Const @ByRef @NoException(value=true) public IAlgorithmVariant getAlgorithmVariant()
@NoException(value=true) public float getTimingMSec()
@Cast(value="std::size_t") @NoException(value=true) public long getWorkspaceSize()
@Const @NoException(value=true) public IAlgorithmIOInfo getAlgorithmIOInfoByIndex(int index)
index
- Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs
and the outputs.Copyright © 2024. All rights reserved.