@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class Scope extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Scope() |
Scope(long size)
Native array allocator.
|
Scope(Pointer p)
Pointer cast constructor.
|
Scope(Pointer parent,
Symbol name) |
Modifier and Type | Method and Description |
---|---|
long |
getDepth() |
Scope |
getPointer(long i) |
Pointer |
getRoot() |
boolean |
isBlank() |
boolean |
isRoot() |
Symbol |
name() |
BytePointer |
namesFromRoot() |
BytePointer |
namesFromRoot(BytePointer separator) |
String |
namesFromRoot(String separator) |
Pointer |
parent() |
Scope |
position(long position) |
Pointer |
push(Symbol name) |
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 Scope(Pointer p)
Pointer(Pointer)
.public Scope(long size)
Pointer.position(long)
.public Scope()
public Scope getPointer(long i)
getPointer
in class Pointer
@StdString public BytePointer namesFromRoot(@StdString BytePointer separator)
@StdString public BytePointer namesFromRoot()
@StdString public String namesFromRoot(@StdString String separator)
Copyright © 2024. All rights reserved.