@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class PluginTensorDesc extends Pointer
IPluginV2IOExt::supportsFormatCombination
,
IPluginV2IOExt::configurePlugin
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PluginTensorDesc()
Default native constructor.
|
PluginTensorDesc(long size)
Native array allocator.
|
PluginTensorDesc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Dims32 |
dims()
Dimensions.
|
PluginTensorDesc |
dims(Dims32 setter) |
nvinfer.TensorFormat |
format()
Tensor format.
|
PluginTensorDesc |
format(nvinfer.TensorFormat setter) |
PluginTensorDesc |
getPointer(long i) |
PluginTensorDesc |
position(long position) |
float |
scale()
Scale for INT8 data type.
|
PluginTensorDesc |
scale(float setter) |
nvinfer.DataType |
type()
\warning DataType:kBOOL and DataType::kUINT8 are not supported.
|
PluginTensorDesc |
type(nvinfer.DataType setter) |
address, 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, zero
public PluginTensorDesc()
public PluginTensorDesc(long size)
Pointer.position(long)
.public PluginTensorDesc(Pointer p)
Pointer(Pointer)
.public PluginTensorDesc position(long position)
public PluginTensorDesc getPointer(long i)
getPointer
in class Pointer
public PluginTensorDesc dims(Dims32 setter)
public nvinfer.DataType type()
public PluginTensorDesc type(nvinfer.DataType setter)
public nvinfer.TensorFormat format()
public PluginTensorDesc format(nvinfer.TensorFormat setter)
public float scale()
public PluginTensorDesc scale(float setter)
Copyright © 2024. All rights reserved.