@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class RawNNData extends RawBuffer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RawNNData()
Default native constructor.
|
RawNNData(long size)
Native array allocator.
|
RawNNData(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize() |
RawNNData |
batchSize(int setter) |
RawNNData |
getPointer(long i) |
RawNNData |
position(long position) |
void |
serialize(byte[] metadata,
int[] datatype) |
void |
serialize(ByteBuffer metadata,
IntBuffer datatype) |
void |
serialize(BytePointer metadata,
IntPointer datatype) |
TensorInfo |
tensors() |
RawNNData |
tensors(TensorInfo setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic RawNNData()
public RawNNData(long size)
Pointer.position(long).public RawNNData(Pointer p)
Pointer(Pointer).public RawNNData getPointer(long i)
getPointer in class RawBuffer@StdVector public TensorInfo tensors()
public RawNNData tensors(TensorInfo setter)
public RawNNData batchSize(int setter)
public void serialize(@Cast(value="std::uint8_t*") @StdVector BytePointer metadata, @ByRef @Cast(value="dai::DatatypeEnum*") IntPointer datatype)
public void serialize(@Cast(value="std::uint8_t*") @StdVector ByteBuffer metadata, @ByRef @Cast(value="dai::DatatypeEnum*") IntBuffer datatype)
Copyright © 2021. All rights reserved.