@Namespace(value="dai") @Properties(inherit=depthai.class) public class NeuralNetworkProperties extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
NeuralNetworkProperties()
Default native constructor.
|
NeuralNetworkProperties(long size)
Native array allocator.
|
NeuralNetworkProperties(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IntOptional |
blobSize()
Blob binary size in bytes
|
NeuralNetworkProperties |
blobSize(IntOptional setter) |
BytePointer |
blobUri()
Uri which points to blob
|
NeuralNetworkProperties |
blobUri(BytePointer setter) |
NeuralNetworkProperties |
getPointer(long i) |
int |
numFrames()
Number of available output tensors in pool
|
NeuralNetworkProperties |
numFrames(int setter) |
int |
numNCEPerThread()
Number of NCE (Neural Compute Engine) per inference thread.
|
NeuralNetworkProperties |
numNCEPerThread(int setter) |
int |
numThreads()
Number of threads to create for running inference.
|
NeuralNetworkProperties |
numThreads(int setter) |
NeuralNetworkProperties |
position(long position) |
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 NeuralNetworkProperties()
public NeuralNetworkProperties(long size)
Pointer.position(long).public NeuralNetworkProperties(Pointer p)
Pointer(Pointer).public NeuralNetworkProperties position(long position)
public NeuralNetworkProperties getPointer(long i)
getPointer in class Pointer@ByRef @Cast(value="tl::optional<std::uint32_t>*") public IntOptional blobSize()
public NeuralNetworkProperties blobSize(IntOptional setter)
@StdString public BytePointer blobUri()
public NeuralNetworkProperties blobUri(BytePointer setter)
@Cast(value="std::uint32_t") public int numFrames()
public NeuralNetworkProperties numFrames(int setter)
@Cast(value="std::uint32_t") public int numThreads()
public NeuralNetworkProperties numThreads(int setter)
@Cast(value="std::uint32_t") public int numNCEPerThread()
public NeuralNetworkProperties numNCEPerThread(int setter)
Copyright © 2021. All rights reserved.