@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class Tree extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Tree(int kind_) |
Tree(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAtom() |
int |
kind() |
void |
matchNumSubtrees(int k,
long expected_subtrees) |
void |
matchNumSubtreesD(int k,
BytePointer filename,
int lineno,
long expected_subtrees,
boolean allow_more) |
void |
matchNumSubtreesD(int k,
String filename,
int lineno,
long expected_subtrees,
boolean allow_more) |
SourceRange |
range() |
BytePointer |
stringValue() |
TreeRef |
tree(long i) |
SymDimVector |
trees() |
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 Tree(Pointer p)
Pointer(Pointer)
.public Tree(int kind_)
public int kind()
@Const @ByRef public SourceRange range()
@StdString public BytePointer stringValue()
@Cast(value="const torch::jit::TreeList*") @ByRef public SymDimVector trees()
public void matchNumSubtreesD(int k, @Cast(value="const char*") BytePointer filename, int lineno, @Cast(value="size_t") long expected_subtrees, @Cast(value="bool") boolean allow_more)
Copyright © 2024. All rights reserved.