@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class Dims2 extends Dims32
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Dims2()
\brief Construct an empty Dims2 object.
|
Dims2(int d0,
int d1)
\brief Construct a Dims2 from 2 elements.
|
Dims2(long size)
Native array allocator.
|
Dims2(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Dims2 |
getPointer(long i) |
Dims2 |
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 Dims2(Pointer p)
Pointer(Pointer)
.public Dims2(long size)
Pointer.position(long)
.public Dims2()
public Dims2(int d0, int d1)
d0
- The first element.d1
- The second element.Copyright © 2024. All rights reserved.