@Name(value="tvm::runtime::NDArray::ContainerBase") @Properties(inherit=tvm_runtime.class) public class ContainerBase extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ContainerBase()
Default native constructor.
|
ContainerBase(long size)
Native array allocator.
|
ContainerBase(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DLTensor |
dl_tensor()
\brief The corresponding dl_tensor field.
|
ContainerBase |
dl_tensor(DLTensor setter) |
ContainerBase |
getPointer(long i) |
Pointer |
manager_ctx()
\brief additional context, reserved for recycling
\note We can attach additional content here
which the current container depend on
(e.g.
|
ContainerBase |
manager_ctx(Pointer setter) |
ContainerBase |
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 ContainerBase()
public ContainerBase(long size)
Pointer.position(long).public ContainerBase(Pointer p)
Pointer(Pointer).public ContainerBase position(long position)
public ContainerBase getPointer(long i)
getPointer in class Pointer@ByRef public DLTensor dl_tensor()
public ContainerBase dl_tensor(DLTensor setter)
public Pointer manager_ctx()
public ContainerBase manager_ctx(Pointer setter)
Copyright © 2021. All rights reserved.