@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class GraphExecutor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
GraphExecutor() |
GraphExecutor(Graph graph,
BytePointer function_name) |
GraphExecutor(Graph graph,
BytePointer function_name,
torch.ExecutorExecutionMode executor_mode) |
GraphExecutor(Graph graph,
String function_name) |
GraphExecutor(Graph graph,
String function_name,
int executor_mode) |
GraphExecutor(long size)
Native array allocator.
|
GraphExecutor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
debugFlushCompilationCache() |
GraphExecutorState |
getDebugState() |
ExecutionPlan |
getPlanFor(IValueVector inputs) |
ExecutionPlan |
getPlanFor(IValueVector inputs,
SizeTOptional remaining_bailout_depth) |
GraphExecutor |
getPointer(long i) |
boolean |
isOptimized() |
GraphExecutor |
position(long position) |
void |
run(IValueVector inputs) |
FuturePtr |
runAsync(IValueVector stack) |
FuturePtr |
runAsync(IValueVector stack,
Pointer taskLauncher) |
address, 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, zero
public GraphExecutor(Pointer p)
Pointer(Pointer)
.public GraphExecutor(long size)
Pointer.position(long)
.public GraphExecutor()
public GraphExecutor(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString BytePointer function_name)
public GraphExecutor(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString String function_name)
public GraphExecutor(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString BytePointer function_name, torch.ExecutorExecutionMode executor_mode)
public GraphExecutor(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString String function_name, @Cast(value="torch::jit::ExecutorExecutionMode") int executor_mode)
public GraphExecutor position(long position)
public GraphExecutor getPointer(long i)
getPointer
in class Pointer
public void run(@ByRef IValueVector inputs)
@ByVal public FuturePtr runAsync(@ByRef IValueVector stack, @ByVal(nullValue="torch::jit::TaskLauncher(at::launch)") @Cast(value="torch::jit::TaskLauncher*") Pointer taskLauncher)
@ByVal public FuturePtr runAsync(@ByRef IValueVector stack)
@Const @ByRef public ExecutionPlan getPlanFor(@ByRef IValueVector inputs, @ByVal(nullValue="c10::optional<size_t>(c10::nullopt)") SizeTOptional remaining_bailout_depth)
@Const @ByRef public ExecutionPlan getPlanFor(@ByRef IValueVector inputs)
@ByVal public GraphExecutorState getDebugState()
public void debugFlushCompilationCache()
Copyright © 2024. All rights reserved.