@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class IPluginV2IOExt extends IPluginV2Ext
IPluginV2Ext
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
IPluginV2IOExt(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configurePlugin(PluginTensorDesc in,
int nbInput,
PluginTensorDesc out,
int nbOutput)
\brief Configure the layer.
|
boolean |
supportsFormatCombination(int pos,
PluginTensorDesc inOut,
int nbInputs,
int nbOutputs)
\brief Return true if plugin supports the format and datatype for the input/output indexed by pos.
|
attachToContext, canBroadcastInputAcrossBatch, clone, configurePlugin, configurePlugin, configurePlugin, configurePlugin, configurePlugin, configurePlugin, detachFromContext, getOutputDataType, getOutputDataType, getOutputDataType, isOutputBroadcastAcrossBatch, isOutputBroadcastAcrossBatch
configureWithFormat, configureWithFormat, destroy, enqueue, enqueue, getNbOutputs, getOutputDimensions, getPluginNamespace, getPluginType, getPluginVersion, getSerializationSize, getTensorRTVersion, getWorkspaceSize, initialize, serialize, setPluginNamespace, setPluginNamespace, supportsFormat, supportsFormat, terminate
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 IPluginV2IOExt(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public void configurePlugin(@Const PluginTensorDesc in, int nbInput, @Const PluginTensorDesc out, int nbOutput)
in
- The input tensors attributes that are used for configuration.nbInput
- Number of input tensors.out
- The output tensors attributes that are used for configuration.nbOutput
- Number of output tensors.
\usage
- Allowed context for the API call
- Thread-safe: Yes, this method is required to be thread-safe and may be called from multiple threads
when building networks on multiple devices sharing the same plugin. However, TensorRT
will not call this method from two threads simultaneously on a given clone of a plugin.@Cast(value="bool") @NoException(value=true) public boolean supportsFormatCombination(int pos, @Const PluginTensorDesc inOut, int nbInputs, int nbOutputs)
Copyright © 2024. All rights reserved.