@Namespace(value="tvm::runtime") @Properties(inherit=tvm_runtime.class) public class TVMArgValue extends TVMPODValue_
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TVMArgValue()
\brief default constructor
|
TVMArgValue(long size)
Native array allocator.
|
TVMArgValue(Pointer p)
Pointer cast constructor.
|
TVMArgValue(TVMValue value,
int type_code)
\brief constructor
|
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
asBytePointer() |
DataType |
asDataType() |
DLDataType |
asDLDataType() |
PackedFunc |
asPackedFunc() |
TVMArgValue |
getPointer(long i) |
TVMArgValue |
position(long position) |
TVMValue |
value() |
asBoolean, asDLContext, asDLTensor, asDouble, asInt, asLong, asModule, asNDArray, asPointer, type_codeaddress, 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 TVMArgValue(Pointer p)
Pointer(Pointer).public TVMArgValue(long size)
Pointer.position(long).public TVMArgValue()
public TVMArgValue position(long position)
public TVMArgValue getPointer(long i)
getPointer in class Pointer@Name(value="operator std::string") @StdString public BytePointer asBytePointer()
@ByVal @Name(value="operator tvm::runtime::PackedFunc") public PackedFunc asPackedFunc()
@ByVal @Name(value="operator DLDataType") public DLDataType asDLDataType()
Copyright © 2021. All rights reserved.