@Properties(inherit=tvm_runtime.class) public class TVMValue extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TVMValue()
Default native constructor.
|
TVMValue(long size)
Native array allocator.
|
TVMValue(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TVMValue |
getPointer(long i) |
TVMValue |
position(long position) |
DLContext |
v_ctx() |
TVMValue |
v_ctx(DLContext setter) |
double |
v_float64() |
TVMValue |
v_float64(double setter) |
Pointer |
v_handle() |
TVMValue |
v_handle(Pointer setter) |
long |
v_int64() |
TVMValue |
v_int64(long setter) |
BytePointer |
v_str() |
TVMValue |
v_str(BytePointer setter) |
DLDataType |
v_type() |
TVMValue |
v_type(DLDataType setter) |
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 TVMValue()
public TVMValue(long size)
Pointer.position(long).public TVMValue(Pointer p)
Pointer(Pointer).public TVMValue getPointer(long i)
getPointer in class Pointerpublic TVMValue v_int64(long setter)
public double v_float64()
public TVMValue v_float64(double setter)
public Pointer v_handle()
@Cast(value="const char*") public BytePointer v_str()
public TVMValue v_str(BytePointer setter)
@ByRef public DLDataType v_type()
public TVMValue v_type(DLDataType setter)
Copyright © 2021. All rights reserved.