@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VOptimizationProfile extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VOptimizationProfile(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Dims32 |
getDimensions(BytePointer inputName,
int select) |
Dims32 |
getDimensions(String inputName,
nvinfer.OptProfileSelector select) |
float |
getExtraMemoryTarget() |
int |
getNbShapeValues(BytePointer inputName) |
int |
getNbShapeValues(String inputName) |
IntBuffer |
getShapeValues(BytePointer inputName,
int select) |
IntPointer |
getShapeValues(String inputName,
nvinfer.OptProfileSelector select) |
boolean |
isValid() |
boolean |
setDimensions(BytePointer inputName,
int select,
Dims32 dims) |
boolean |
setDimensions(String inputName,
nvinfer.OptProfileSelector select,
Dims32 dims) |
boolean |
setExtraMemoryTarget(float target) |
boolean |
setShapeValues(BytePointer inputName,
int select,
int[] values,
int nbValues) |
boolean |
setShapeValues(BytePointer inputName,
int select,
IntBuffer values,
int nbValues) |
boolean |
setShapeValues(BytePointer inputName,
int select,
IntPointer values,
int nbValues) |
boolean |
setShapeValues(String inputName,
nvinfer.OptProfileSelector select,
int[] values,
int nbValues) |
boolean |
setShapeValues(String inputName,
nvinfer.OptProfileSelector select,
IntBuffer values,
int nbValues) |
boolean |
setShapeValues(String inputName,
nvinfer.OptProfileSelector select,
IntPointer values,
int nbValues) |
getPointer, positionaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic VOptimizationProfile(Pointer p)
Pointer(Pointer).@Cast(value="bool") @NoException(value=true) public boolean setDimensions(String inputName, nvinfer.OptProfileSelector select, @ByVal @Cast(value="nvinfer1::Dims*") Dims32 dims)
@Cast(value="bool") @NoException(value=true) public boolean setDimensions(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select, @ByVal @Cast(value="nvinfer1::Dims*") Dims32 dims)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions(String inputName, nvinfer.OptProfileSelector select)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getDimensions(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(String inputName, nvinfer.OptProfileSelector select, @Const IntPointer values, int nbValues)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select, @Const IntBuffer values, int nbValues)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(String inputName, nvinfer.OptProfileSelector select, @Const int[] values, int nbValues)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select, @Const IntPointer values, int nbValues)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(String inputName, nvinfer.OptProfileSelector select, @Const IntBuffer values, int nbValues)
@Cast(value="bool") @NoException(value=true) public boolean setShapeValues(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select, @Const int[] values, int nbValues)
@NoException(value=true) public int getNbShapeValues(String inputName)
@NoException(value=true) public int getNbShapeValues(@Cast(value="const char*") BytePointer inputName)
@Const @NoException(value=true) public IntPointer getShapeValues(String inputName, nvinfer.OptProfileSelector select)
@Const @NoException(value=true) public IntBuffer getShapeValues(@Cast(value="const char*") BytePointer inputName, @Cast(value="nvinfer1::OptProfileSelector") int select)
@Cast(value="bool") @NoException(value=true) public boolean setExtraMemoryTarget(float target)
@NoException(value=true) public float getExtraMemoryTarget()
@Cast(value="bool") @NoException(value=true) public boolean isValid()
Copyright © 2024. All rights reserved.