@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class TVMPODValue_ extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TVMPODValue_(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DLDevice |
asDLDevice() |
DLTensor |
asDLTensor() |
Module |
asModule() |
NDArray |
asNDArray() |
PackedFunc |
asPackedFunc() |
Pointer |
asPointer() |
BoolPointer |
TryAsBool()
\brief return handle as specific pointer type.
|
DoublePointer |
TryAsFloat() |
LongPointer |
TryAsInt() |
int |
type_code() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic TVMPODValue_(Pointer p)
Pointer(Pointer).@ByVal @Name(value="operator tvm::runtime::PackedFunc") public PackedFunc asPackedFunc()
@ByVal @Cast(value="tvm::Device*") @Name(value="operator tvm::Device") public DLDevice asDLDevice()
public int type_code()
@Cast(value="bool*") @Optional public BoolPointer TryAsBool()
@Cast(value="int64_t*") @Optional public LongPointer TryAsInt()
@Optional public DoublePointer TryAsFloat()
Copyright © 2024. All rights reserved.