@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class Dims32 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DIMS |
Constructor and Description |
---|
Dims32()
Default native constructor.
|
Dims32(long size)
Native array allocator.
|
Dims32(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IntPointer |
d() |
int |
d(int i)
The extent of each dimension.
|
Dims32 |
d(int i,
int setter) |
Dims32 |
getPointer(long i) |
static int |
MAX_DIMS()
The maximum rank (number of dimensions) supported for a tensor.
|
int |
nbDims()
The rank (number of dimensions).
|
Dims32 |
nbDims(int setter) |
Dims32 |
position(long position) |
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 Dims32()
public Dims32(long size)
Pointer.position(long)
.public Dims32(Pointer p)
Pointer(Pointer)
.public Dims32 getPointer(long i)
getPointer
in class Pointer
@MemberGetter public static int MAX_DIMS()
public int nbDims()
public Dims32 nbDims(int setter)
public int d(int i)
public Dims32 d(int i, int setter)
@MemberGetter public IntPointer d()
Copyright © 2024. All rights reserved.