@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class TVMArgs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TVMArgs(Pointer p)
Pointer cast constructor.
|
TVMArgs(TVMValue values,
int[] type_codes,
int num_args) |
TVMArgs(TVMValue values,
IntBuffer type_codes,
int num_args) |
TVMArgs(TVMValue values,
IntPointer type_codes,
int num_args)
\brief constructor
|
| Modifier and Type | Method and Description |
|---|---|
TVMArgValue |
get(int i)
\brief Get i-th argument
|
int |
num_args() |
TVMArgs |
num_args(int setter) |
int |
size() |
IntPointer |
type_codes() |
TVMArgs |
type_codes(IntPointer setter) |
TVMValue |
values() |
TVMArgs |
values(TVMValue setter) |
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 TVMArgs(Pointer p)
Pointer(Pointer).public TVMArgs(@Const TVMValue values, @Const IntPointer type_codes, int num_args)
values - The argument valuestype_codes - The argument type codesnum_args - number of arguments.@Const public IntPointer type_codes()
public TVMArgs type_codes(IntPointer setter)
public int num_args()
public TVMArgs num_args(int setter)
public int size()
@ByVal @Name(value="operator []") public TVMArgValue get(int i)
i - the index.Copyright © 2022. All rights reserved.