@Name(value="tvm::runtime::NDArray::Container") @NoOffset @Properties(inherit=tvm_runtime.class) public class Container extends TVMObject
TVMObject.FDeleterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
_type_child_slots |
static boolean |
_type_child_slots_can_overflow |
static int |
_type_index |
_type_final, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs| Constructor and Description |
|---|
Container()
\brief default constructor
|
Container(long size)
Native array allocator.
|
Container(Pointer p)
Pointer cast constructor.
|
Container(Pointer data,
long[] shape,
DLDataType dtype,
DLContext ctx) |
Container(Pointer data,
LongBuffer shape,
DLDataType dtype,
DLContext ctx) |
Container(Pointer data,
LongPointer shape,
DLDataType dtype,
DLContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static int |
_GetOrAllocRuntimeTypeIndex() |
static boolean |
_type_child_slots_can_overflow() |
static int |
_type_child_slots() |
static int |
_type_index() |
static BytePointer |
_type_key() |
ContainerBase |
asContainerBase() |
static ContainerBase |
asContainerBase(Container pointer) |
Container |
getPointer(long i) |
Container |
position(long position) |
static int |
RuntimeTypeIndex() |
void |
SetDeleter(TVMObject.FDeleter deleter)
\brief Set the deleter field.
|
_type_final, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs, GetTypeKey, GetTypeKeyHash, put, type_index, TypeIndex2Key, TypeIndex2KeyHash, TypeKey2Index, TypeKey2Indexaddress, 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 static final int _type_index
public static final int _type_child_slots
public static final boolean _type_child_slots_can_overflow
public Container(Pointer p)
Pointer(Pointer).public Container(long size)
Pointer.position(long).public Container()
public Container(Pointer data, @Cast(value="int64_t*") @StdVector LongPointer shape, @ByVal DLDataType dtype, @ByVal DLContext ctx)
public Container(Pointer data, @Cast(value="int64_t*") @StdVector LongBuffer shape, @ByVal DLDataType dtype, @ByVal DLContext ctx)
public Container(Pointer data, @Cast(value="int64_t*") @StdVector long[] shape, @ByVal DLDataType dtype, @ByVal DLContext ctx)
public Container getPointer(long i)
getPointer in class TVMObjectpublic ContainerBase asContainerBase()
@Namespace @Name(value="static_cast<tvm::runtime::NDArray::ContainerBase*>") public static ContainerBase asContainerBase(Container pointer)
public void SetDeleter(TVMObject.FDeleter deleter)
deleter - The deleter.@MemberGetter @Cast(value="const uint32_t") public static int _type_index()
@MemberGetter @Cast(value="const uint32_t") public static int _type_child_slots()
@MemberGetter @Cast(value="const bool") public static boolean _type_child_slots_can_overflow()
@MemberGetter @Cast(value="const char*") public static BytePointer _type_key()
Copyright © 2021. All rights reserved.