@Namespace(value="nvinfer1") @Properties(inherit=nvinfer.class) public class Weights extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Weights()
Default native constructor.
|
Weights(long size)
Native array allocator.
|
Weights(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
count()
The number of weights in the array.
|
Weights |
count(long setter) |
Weights |
getPointer(long i) |
Weights |
position(long position) |
nvinfer.DataType |
type()
The type of the weights.
|
Weights |
type(nvinfer.DataType setter) |
Pointer |
values()
The weight values, in a contiguous array.
|
Weights |
values(Pointer values) |
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, zeropublic Weights()
public Weights(long size)
Pointer.position(long).public Weights(Pointer p)
Pointer(Pointer).public Weights getPointer(long i)
getPointer in class Pointerpublic nvinfer.DataType type()
public Weights type(nvinfer.DataType setter)
public Weights count(long setter)
Copyright © 2024. All rights reserved.