@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VRefitter extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VRefitter(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAll(int size,
byte[] layerNames,
int[] roles) |
int |
getAll(int size,
ByteBuffer layerNames,
IntBuffer roles) |
int |
getAll(int size,
BytePointer layerNames,
IntPointer roles) |
int |
getAll(int size,
PointerPointer layerNames,
IntPointer roles) |
int |
getAllWeights(int size,
byte[] weightsNames) |
int |
getAllWeights(int size,
ByteBuffer weightsNames) |
int |
getAllWeights(int size,
BytePointer weightsNames) |
int |
getAllWeights(int size,
PointerPointer weightsNames) |
float |
getDynamicRangeMax(BytePointer tensorName) |
float |
getDynamicRangeMax(String tensorName) |
float |
getDynamicRangeMin(BytePointer tensorName) |
float |
getDynamicRangeMin(String tensorName) |
IErrorRecorder |
getErrorRecorder() |
ILogger |
getLogger() |
int |
getMaxThreads() |
int |
getMissing(int size,
byte[] layerNames,
int[] roles) |
int |
getMissing(int size,
ByteBuffer layerNames,
IntBuffer roles) |
int |
getMissing(int size,
BytePointer layerNames,
IntPointer roles) |
int |
getMissing(int size,
PointerPointer layerNames,
IntPointer roles) |
int |
getMissingWeights(int size,
byte[] weightsNames) |
int |
getMissingWeights(int size,
ByteBuffer weightsNames) |
int |
getMissingWeights(int size,
BytePointer weightsNames) |
int |
getMissingWeights(int size,
PointerPointer weightsNames) |
int |
getTensorsWithDynamicRange(int size,
byte[] tensorNames) |
int |
getTensorsWithDynamicRange(int size,
ByteBuffer tensorNames) |
int |
getTensorsWithDynamicRange(int size,
BytePointer tensorNames) |
int |
getTensorsWithDynamicRange(int size,
PointerPointer tensorNames) |
boolean |
refitCudaEngine() |
boolean |
setDynamicRange(BytePointer tensorName,
float min,
float max) |
boolean |
setDynamicRange(String tensorName,
float min,
float max) |
void |
setErrorRecorder(IErrorRecorder recorder) |
boolean |
setMaxThreads(int maxThreads) |
boolean |
setNamedWeights(BytePointer name,
Weights weights) |
boolean |
setNamedWeights(String name,
Weights weights) |
boolean |
setWeights(BytePointer layerName,
int role,
Weights weights) |
boolean |
setWeights(String layerName,
nvinfer.WeightsRole role,
Weights weights) |
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 VRefitter(Pointer p)
Pointer(Pointer).@Cast(value="bool") @NoException(value=true) public boolean setWeights(String layerName, nvinfer.WeightsRole role, @Const @ByVal Weights weights)
@Cast(value="bool") @NoException(value=true) public boolean setWeights(@Cast(value="const char*") BytePointer layerName, @Cast(value="nvinfer1::WeightsRole") int role, @Const @ByVal Weights weights)
@Cast(value="bool") @NoException(value=true) public boolean refitCudaEngine()
@NoException(value=true) public int getMissing(int size, @Cast(value="const char**") PointerPointer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntPointer roles)
@NoException(value=true) public int getMissing(int size, @Cast(value="const char**") @ByPtrPtr BytePointer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntPointer roles)
@NoException(value=true) public int getMissing(int size, @Cast(value="const char**") @ByPtrPtr ByteBuffer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntBuffer roles)
@NoException(value=true) public int getMissing(int size, @Cast(value="const char**") @ByPtrPtr byte[] layerNames, @Cast(value="nvinfer1::WeightsRole*") int[] roles)
@NoException(value=true) public int getAll(int size, @Cast(value="const char**") PointerPointer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntPointer roles)
@NoException(value=true) public int getAll(int size, @Cast(value="const char**") @ByPtrPtr BytePointer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntPointer roles)
@NoException(value=true) public int getAll(int size, @Cast(value="const char**") @ByPtrPtr ByteBuffer layerNames, @Cast(value="nvinfer1::WeightsRole*") IntBuffer roles)
@NoException(value=true) public int getAll(int size, @Cast(value="const char**") @ByPtrPtr byte[] layerNames, @Cast(value="nvinfer1::WeightsRole*") int[] roles)
@Cast(value="bool") @NoException(value=true) public boolean setDynamicRange(String tensorName, float min, float max)
@Cast(value="bool") @NoException(value=true) public boolean setDynamicRange(@Cast(value="const char*") BytePointer tensorName, float min, float max)
@NoException(value=true) public float getDynamicRangeMin(String tensorName)
@NoException(value=true) public float getDynamicRangeMin(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public float getDynamicRangeMax(String tensorName)
@NoException(value=true) public float getDynamicRangeMax(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public int getTensorsWithDynamicRange(int size, @Cast(value="const char**") PointerPointer tensorNames)
@NoException(value=true) public int getTensorsWithDynamicRange(int size, @Cast(value="const char**") @ByPtrPtr BytePointer tensorNames)
@NoException(value=true) public int getTensorsWithDynamicRange(int size, @Cast(value="const char**") @ByPtrPtr ByteBuffer tensorNames)
@NoException(value=true) public int getTensorsWithDynamicRange(int size, @Cast(value="const char**") @ByPtrPtr byte[] tensorNames)
@NoException(value=true) public void setErrorRecorder(IErrorRecorder recorder)
@NoException(value=true) public IErrorRecorder getErrorRecorder()
@Cast(value="bool") @NoException(value=true) public boolean setNamedWeights(String name, @ByVal Weights weights)
@Cast(value="bool") @NoException(value=true) public boolean setNamedWeights(@Cast(value="const char*") BytePointer name, @ByVal Weights weights)
@NoException(value=true) public int getMissingWeights(int size, @Cast(value="const char**") PointerPointer weightsNames)
@NoException(value=true) public int getMissingWeights(int size, @Cast(value="const char**") @ByPtrPtr BytePointer weightsNames)
@NoException(value=true) public int getMissingWeights(int size, @Cast(value="const char**") @ByPtrPtr ByteBuffer weightsNames)
@NoException(value=true) public int getMissingWeights(int size, @Cast(value="const char**") @ByPtrPtr byte[] weightsNames)
@NoException(value=true) public int getAllWeights(int size, @Cast(value="const char**") PointerPointer weightsNames)
@NoException(value=true) public int getAllWeights(int size, @Cast(value="const char**") @ByPtrPtr BytePointer weightsNames)
@NoException(value=true) public int getAllWeights(int size, @Cast(value="const char**") @ByPtrPtr ByteBuffer weightsNames)
@NoException(value=true) public int getAllWeights(int size, @Cast(value="const char**") @ByPtrPtr byte[] weightsNames)
@NoException(value=true) public ILogger getLogger()
@Cast(value="bool") @NoException(value=true) public boolean setMaxThreads(int maxThreads)
@NoException(value=true) public int getMaxThreads()
Copyright © 2024. All rights reserved.