@Namespace(value="tvm::runtime") @NoOffset @Properties(inherit=tvm_runtime.class) public class PackedFunc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
PackedFunc()
\brief default constructor
|
PackedFunc(long size)
Native array allocator.
|
PackedFunc(Pointer p)
Pointer cast constructor.
|
PackedFunc(tvm_runtime.PackedFuncFType body)
\brief constructing a packed function from a std::function.
|
| Modifier and Type | Method and Description |
|---|---|
tvm_runtime.PackedFuncFType |
body() |
void |
CallPacked(TVMArgs args,
TVMRetValue rv)
\brief Call the function in packed format.
|
PackedFunc |
getPointer(long i) |
PackedFunc |
position(long position) |
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 PackedFunc(Pointer p)
Pointer(Pointer).public PackedFunc(long size)
Pointer.position(long).public PackedFunc()
public PackedFunc(@ByVal tvm_runtime.PackedFuncFType body)
body - the internal container of packed function.public PackedFunc position(long position)
public PackedFunc getPointer(long i)
getPointer in class Pointerpublic void CallPacked(@ByVal TVMArgs args, TVMRetValue rv)
args - The argumentsrv - The return value.@ByPtrPtr @Name(value="body().target<void(*)(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)>") public tvm_runtime.PackedFuncFType body()
Copyright © 2021. All rights reserved.