@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class IAlgorithmContext extends INoCopy
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IAlgorithmContext(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Dims32 |
getDimensions(int index,
int select) |
Dims32 |
getDimensions(int index,
nvinfer.OptProfileSelector select)
\brief Get the minimum / optimum / maximum dimensions for input or output tensor.
|
String |
getName()
\brief Return name of the algorithm node.
|
int |
getNbInputs()
\brief Return number of inputs of the algorithm.
|
int |
getNbOutputs()
\brief Return number of outputs of the algorithm.
|
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 IAlgorithmContext(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public String getName()
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions(int index, nvinfer.OptProfileSelector select)
index
- Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs
and the outputs.select
- Which of the minimum, optimum, or maximum dimensions to be queried.@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions(int index, @Cast(value="nvinfer1::OptProfileSelector") int select)
@NoException(value=true) public int getNbInputs()
@NoException(value=true) public int getNbOutputs()
Copyright © 2024. All rights reserved.