@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VBuilder extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VBuilder(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ICudaEngine |
buildEngineWithConfig(INetworkDefinition network,
IBuilderConfig config) |
IHostMemory |
buildSerializedNetwork(INetworkDefinition network,
IBuilderConfig config) |
IBuilderConfig |
createBuilderConfig() |
INetworkDefinition |
createNetworkV2(int flags) |
IOptimizationProfile |
createOptimizationProfile() |
IErrorRecorder |
getErrorRecorder() |
ILogger |
getLogger() |
int |
getMaxBatchSize() |
int |
getMaxDLABatchSize() |
int |
getMaxThreads() |
int |
getNbDLACores() |
IPluginRegistry |
getPluginRegistry() |
boolean |
isNetworkSupported(INetworkDefinition network,
IBuilderConfig config) |
boolean |
platformHasFastFp16() |
boolean |
platformHasFastInt8() |
boolean |
platformHasTf32() |
void |
reset() |
void |
setErrorRecorder(IErrorRecorder recorder) |
void |
setGpuAllocator(IGpuAllocator allocator) |
void |
setMaxBatchSize(int batchSize) |
boolean |
setMaxThreads(int maxThreads) |
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 VBuilder(Pointer p)
Pointer(Pointer).@NoException(value=true) public void setMaxBatchSize(int batchSize)
@NoException(value=true) public int getMaxBatchSize()
@Cast(value="bool") @NoException(value=true) public boolean platformHasFastFp16()
@Cast(value="bool") @NoException(value=true) public boolean platformHasFastInt8()
@NoException(value=true) public int getMaxDLABatchSize()
@NoException(value=true) public int getNbDLACores()
@NoException(value=true) public void setGpuAllocator(IGpuAllocator allocator)
@NoException(value=true) public IBuilderConfig createBuilderConfig()
@NoException(value=true) public ICudaEngine buildEngineWithConfig(@ByRef INetworkDefinition network, @ByRef IBuilderConfig config)
@NoException(value=true) public INetworkDefinition createNetworkV2(@Cast(value="nvinfer1::NetworkDefinitionCreationFlags") int flags)
@NoException(value=true) public IOptimizationProfile createOptimizationProfile()
@NoException(value=true) public void setErrorRecorder(IErrorRecorder recorder)
@NoException(value=true) public IErrorRecorder getErrorRecorder()
@NoException(value=true) public void reset()
@Cast(value="bool") @NoException(value=true) public boolean platformHasTf32()
@NoException(value=true) public IHostMemory buildSerializedNetwork(@ByRef INetworkDefinition network, @ByRef IBuilderConfig config)
@Cast(value="bool") @NoException(value=true) public boolean isNetworkSupported(@Const @ByRef INetworkDefinition network, @Const @ByRef IBuilderConfig config)
@NoException(value=true) public ILogger getLogger()
@Cast(value="bool") @NoException(value=true) public boolean setMaxThreads(int maxThreads)
@NoException(value=true) public int getMaxThreads()
@ByRef @NoException(value=true) public IPluginRegistry getPluginRegistry()
Copyright © 2024. All rights reserved.