@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class Code extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Code() |
Code(CodeImpl pImpl) |
Code(Graph graph,
BytePointer function_name) |
Code(Graph graph,
BytePointer function_name,
long remaining_bailout_depth) |
Code(Graph graph,
String function_name) |
Code(Graph graph,
String function_name,
long remaining_bailout_depth) |
Code(long size)
Native array allocator.
|
Code(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean() |
IValueVector |
constant_table() |
PointerPointer |
diff_graph_op_executors() |
Code |
getPointer(long i) |
PointerPointer |
grad_executors() |
PointerPointer |
instructions_source() |
Instruction |
instructions() |
long |
num_bailouts() |
long |
num_inputs() |
long |
num_outputs() |
StringSizeTMap |
op_to_num_specified_args() |
Code |
position(long position) |
long |
register_size() |
void |
request_bailout(long index) |
TypeVector |
type_table() |
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 Code(Pointer p)
Pointer(Pointer)
.public Code(long size)
Pointer.position(long)
.public Code()
public Code(CodeImpl pImpl)
public Code(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString BytePointer function_name, @Cast(value="size_t") long remaining_bailout_depth)
public Code(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString BytePointer function_name)
public Code(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString String function_name, @Cast(value="size_t") long remaining_bailout_depth)
public Code(@Const @SharedPtr(value="torch::jit::Graph") @ByRef Graph graph, @StdString String function_name)
public Code getPointer(long i)
getPointer
in class Pointer
@Cast(value="torch::jit::GraphExecutor**") @StdVector public PointerPointer grad_executors()
@Cast(value="torch::jit::GraphExecutor**") @StdVector public PointerPointer diff_graph_op_executors()
@Const @ByRef public IValueVector constant_table()
@Const @ByRef public TypeVector type_table()
@StdVector public Instruction instructions()
@Const @ByRef public StringSizeTMap op_to_num_specified_args()
@Cast(value="torch::jit::Node**") @StdVector public PointerPointer instructions_source()
Copyright © 2024. All rights reserved.