@Namespace(value="dai") @Properties(inherit=depthai.class) public class TensorInfo extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
TensorInfo.DataType |
static class |
TensorInfo.StorageOrder |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TensorInfo()
Default native constructor.
|
TensorInfo(long size)
Native array allocator.
|
TensorInfo(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TensorInfo.DataType |
dataType() |
TensorInfo |
dataType(TensorInfo.DataType setter) |
IntPointer |
dims() |
TensorInfo |
dims(IntPointer setter) |
TensorInfo |
getPointer(long i) |
BytePointer |
name() |
TensorInfo |
name(BytePointer setter) |
int |
numDimensions() |
TensorInfo |
numDimensions(int setter) |
int |
offset() |
TensorInfo |
offset(int setter) |
TensorInfo.StorageOrder |
order() |
TensorInfo |
order(TensorInfo.StorageOrder setter) |
TensorInfo |
position(long position) |
IntPointer |
strides() |
TensorInfo |
strides(IntPointer 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 TensorInfo()
public TensorInfo(long size)
Pointer.position(long).public TensorInfo(Pointer p)
Pointer(Pointer).public TensorInfo position(long position)
public TensorInfo getPointer(long i)
getPointer in class Pointerpublic TensorInfo.StorageOrder order()
public TensorInfo order(TensorInfo.StorageOrder setter)
public TensorInfo.DataType dataType()
public TensorInfo dataType(TensorInfo.DataType setter)
public TensorInfo numDimensions(int setter)
@Cast(value="unsigned*") @StdVector public IntPointer dims()
public TensorInfo dims(IntPointer setter)
@Cast(value="unsigned*") @StdVector public IntPointer strides()
public TensorInfo strides(IntPointer setter)
@StdString public BytePointer name()
public TensorInfo name(BytePointer setter)
public TensorInfo offset(int setter)
Copyright © 2021. All rights reserved.