@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class Method extends IMethod
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Method(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IValue |
apply(IValueVector stack) |
IValue |
apply(IValueVector stack,
StringIValueMap kwargs) |
Function |
function() |
GraphExecutor |
get_executor() |
Graph |
graph() |
BytePointer |
name() |
long |
num_inputs() |
JitModule |
owner() |
FuturePtr |
run_async(IValueVector stack) |
FuturePtr |
run_async(IValueVector stack,
StringIValueMap kwargs,
Pointer taskLauncher) |
void |
run(IValueVector stack) |
getArgumentNames
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, zero
public Method(Pointer p)
Pointer(Pointer)
.public void run(@ByRef IValueVector stack)
@ByVal @Name(value="operator ()") public IValue apply(@ByVal IValueVector stack, @Cast(value="const torch::jit::Kwargs*") @ByRef(nullValue="torch::jit::Kwargs()") StringIValueMap kwargs)
@ByVal public FuturePtr run_async(@ByVal IValueVector stack, @Cast(value="const torch::jit::Kwargs*") @ByRef(nullValue="torch::jit::Kwargs()") StringIValueMap kwargs, @ByVal(nullValue="torch::jit::TaskLauncher(at::launch)") @Cast(value="torch::jit::TaskLauncher*") Pointer taskLauncher)
@ByVal public FuturePtr run_async(@ByVal IValueVector stack)
@SharedPtr(value="torch::jit::Graph") @ByVal public Graph graph()
@StdString public BytePointer name()
@ByRef public GraphExecutor get_executor()
Copyright © 2024. All rights reserved.