@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VCudaEngine extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VCudaEngine(Pointer p)
Pointer cast constructor.
|
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 VCudaEngine(Pointer p)
Pointer(Pointer).@NoException(value=true) public int getNbBindings()
@NoException(value=true) public int getBindingIndex(String name)
@NoException(value=true) public int getBindingIndex(@Cast(value="const char*") BytePointer name)
@NoException(value=true) public String getBindingName(int bindingIndex)
@Cast(value="bool") @NoException(value=true) public boolean bindingIsInput(int bindingIndex)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getBindingDimensions(int bindingIndex)
@NoException(value=true) public nvinfer.DataType getBindingDataType(int bindingIndex)
@NoException(value=true) public int getMaxBatchSize()
@NoException(value=true) public int getNbLayers()
@NoException(value=true) public IHostMemory serialize()
@NoException(value=true) public IExecutionContext createExecutionContext()
@NoException(value=true) public nvinfer.TensorLocation getLocation(int bindingIndex)
@NoException(value=true) public IExecutionContext createExecutionContextWithoutDeviceMemory()
@Cast(value="size_t") @NoException(value=true) public long getDeviceMemorySize()
@Cast(value="bool") @NoException(value=true) public boolean isRefittable()
@NoException(value=true) public int getBindingBytesPerComponent(int bindingIndex)
@NoException(value=true) public int getBindingComponentsPerElement(int bindingIndex)
@NoException(value=true) public nvinfer.TensorFormat getBindingFormat(int bindingIndex)
@NoException(value=true) public String getBindingFormatDesc(int bindingIndex)
@NoException(value=true) public int getBindingVectorizedDim(int bindingIndex)
@NoException(value=true) public String getName()
@NoException(value=true) public int getNbOptimizationProfiles()
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getProfileDimensions(int bindingIndex, int profileIndex, nvinfer.OptProfileSelector select)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getProfileDimensions(int bindingIndex, int profileIndex, @Cast(value="nvinfer1::OptProfileSelector") int select)
@Const @NoException(value=true) public IntPointer getProfileShapeValues(int profileIndex, int inputIndex, nvinfer.OptProfileSelector select)
@Const @NoException(value=true) public IntBuffer getProfileShapeValues(int profileIndex, int inputIndex, @Cast(value="nvinfer1::OptProfileSelector") int select)
@Cast(value="bool") @NoException(value=true) public boolean isShapeBinding(int bindingIndex)
@Cast(value="bool") @NoException(value=true) public boolean isExecutionBinding(int bindingIndex)
@NoException(value=true) public nvinfer.EngineCapability getEngineCapability()
@NoException(value=true) public void setErrorRecorder(IErrorRecorder recorder)
@NoException(value=true) public IErrorRecorder getErrorRecorder()
@Cast(value="bool") @NoException(value=true) public boolean hasImplicitBatchDimension()
@Cast(value="nvinfer1::TacticSources") @NoException(value=true) public int getTacticSources()
@NoException(value=true) public nvinfer.ProfilingVerbosity getProfilingVerbosity()
@NoException(value=true) public IEngineInspector createEngineInspector()
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getTensorShape(String tensorName)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getTensorShape(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public nvinfer.DataType getTensorDataType(String tensorName)
@NoException(value=true) @Cast(value="nvinfer1::DataType") public int getTensorDataType(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public nvinfer.TensorLocation getTensorLocation(String tensorName)
@NoException(value=true) @Cast(value="nvinfer1::TensorLocation") public int getTensorLocation(@Cast(value="const char*") BytePointer tensorName)
@Cast(value="bool") @NoException(value=true) public boolean isShapeInferenceIO(String tensorName)
@Cast(value="bool") @NoException(value=true) public boolean isShapeInferenceIO(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public nvinfer.TensorIOMode getTensorIOMode(String tensorName)
@NoException(value=true) @Cast(value="nvinfer1::TensorIOMode") public int getTensorIOMode(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public int getTensorBytesPerComponent(String tensorName)
@NoException(value=true) public int getTensorBytesPerComponent(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public int getTensorComponentsPerElement(String tensorName)
@NoException(value=true) public int getTensorComponentsPerElement(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public nvinfer.TensorFormat getTensorFormat(String tensorName)
@NoException(value=true) @Cast(value="nvinfer1::TensorFormat") public int getTensorFormat(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public String getTensorFormatDesc(String tensorName)
@NoException(value=true) @Cast(value="const char*") public BytePointer getTensorFormatDesc(@Cast(value="const char*") BytePointer tensorName)
@NoException(value=true) public int getTensorVectorizedDim(String tensorName)
@NoException(value=true) public int getTensorVectorizedDim(@Cast(value="const char*") BytePointer tensorName)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getProfileShape(String tensorName, int profileIndex, nvinfer.OptProfileSelector select)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getProfileShape(@Cast(value="const char*") BytePointer tensorName, int profileIndex, @Cast(value="nvinfer1::OptProfileSelector") int select)
@NoException(value=true) public int getNbIOTensors()
@NoException(value=true) public String getIOTensorName(int index)
@NoException(value=true) public nvinfer.HardwareCompatibilityLevel getHardwareCompatibilityLevel()
@NoException(value=true) public ICudaEngine getPImpl()
@NoException(value=true) public int getNbAuxStreams()
@NoException(value=true) public int getTensorBytesPerComponentV2(String tensorName, int profileIndex)
@NoException(value=true) public int getTensorBytesPerComponentV2(@Cast(value="const char*") BytePointer tensorName, int profileIndex)
@NoException(value=true) public int getTensorComponentsPerElementV2(String tensorName, int profileIndex)
@NoException(value=true) public int getTensorComponentsPerElementV2(@Cast(value="const char*") BytePointer tensorName, int profileIndex)
@NoException(value=true) public nvinfer.TensorFormat getTensorFormatV2(String tensorName, int profileIndex)
@NoException(value=true) @Cast(value="nvinfer1::TensorFormat") public int getTensorFormatV2(@Cast(value="const char*") BytePointer tensorName, int profileIndex)
@NoException(value=true) public String getTensorFormatDescV2(String tensorName, int profileIndex)
@NoException(value=true) @Cast(value="const char*") public BytePointer getTensorFormatDescV2(@Cast(value="const char*") BytePointer tensorName, int profileIndex)
@NoException(value=true) public int getTensorVectorizedDimV2(String tensorName, int profileIndex)
@NoException(value=true) public int getTensorVectorizedDimV2(@Cast(value="const char*") BytePointer tensorName, int profileIndex)
Copyright © 2024. All rights reserved.