@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class ShapeTupleObj 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_final |
static int |
_type_index |
_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs| Constructor and Description |
|---|
ShapeTupleObj()
Default native constructor.
|
ShapeTupleObj(long size)
Native array allocator.
|
ShapeTupleObj(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
_GetOrAllocRuntimeTypeIndex() |
static int |
_type_child_slots() |
static boolean |
_type_final() |
static int |
_type_index() |
static BytePointer |
_type_key() |
LongPointer |
data()
\brief The pointer to shape tuple data.
|
ShapeTupleObj |
data(LongPointer setter) |
ShapeTupleObj |
getPointer(long i) |
ShapeTupleObj |
position(long position) |
long |
Product()
\brief Get "numel", meaning the number of elements of an array if the array has this shape
|
static int |
RuntimeTypeIndex() |
long |
size()
\brief The size of the shape tuple object.
|
ShapeTupleObj |
size(long setter) |
_type_child_slots_can_overflow, _type_has_method_sequal_reduce, _type_has_method_shash_reduce, _type_has_method_visit_attrs, GetTypeKey, GetTypeKeyHash, put, type_index, TypeIndex2Key, TypeIndex2KeyHash, TypeKey2Index, TypeKey2Index, uniqueaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic static final int _type_index
public static final boolean _type_final
public static final int _type_child_slots
public ShapeTupleObj()
public ShapeTupleObj(long size)
Pointer.position(long).public ShapeTupleObj(Pointer p)
Pointer(Pointer).public ShapeTupleObj position(long position)
public ShapeTupleObj getPointer(long i)
getPointer in class TVMObject@Cast(value="tvm::runtime::ShapeTupleObj::index_type*") public LongPointer data()
public ShapeTupleObj data(LongPointer setter)
public ShapeTupleObj size(long setter)
@Cast(value="tvm::runtime::ShapeTupleObj::index_type") public long Product()
@MemberGetter @Cast(value="const uint32_t") public static int _type_index()
@MemberGetter @Cast(value="const char*") public static BytePointer _type_key()
@MemberGetter @Cast(value="const bool") public static boolean _type_final()
@MemberGetter public static int _type_child_slots()
Copyright © 2024. All rights reserved.