@Namespace(value="tvm::runtime") @Properties(inherit=tvm_runtime.class) public class PackedFunc extends ObjectRef
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter_type_is_nullable| Constructor and Description |
|---|
PackedFunc() |
PackedFunc(long size)
Native array allocator.
|
PackedFunc(ObjectPtr n) |
PackedFunc(PackedFunc other) |
PackedFunc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PackedFuncObj |
access() |
void |
CallPacked(TVMArgs args,
TVMRetValue rv)
\brief Call the function in packed format.
|
PackedFuncObj |
get() |
PackedFunc |
getPointer(long i) |
PackedFunc |
position(long position) |
PackedFunc |
put(PackedFunc other) |
_type_is_nullable, defined, equals, lessThan, notEquals, same_as, unique, use_countaddress, 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 PackedFunc(Pointer p)
Pointer(Pointer).public PackedFunc(long size)
Pointer.position(long).public PackedFunc()
public PackedFunc(@Const @ByRef PackedFunc other)
public PackedFunc position(long position)
public PackedFunc getPointer(long i)
getPointer in class ObjectRefpublic void CallPacked(@ByVal TVMArgs args, TVMRetValue rv)
args - The argumentsrv - The return value.@ByRef @Name(value="operator =") public PackedFunc put(@Const @ByRef PackedFunc other)
@Const @Name(value="operator ->") public PackedFuncObj access()
@Const public PackedFuncObj get()
Copyright © 2022. All rights reserved.