@Namespace(value="at::impl") @Properties(inherit=torch.class) public class ThreadLocalPythonObjects extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ThreadLocalPythonObjects()
Default native constructor.
|
ThreadLocalPythonObjects(long size)
Native array allocator.
|
ThreadLocalPythonObjects(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(BytePointer key) |
static boolean |
contains(String key) |
static ThreadLocalPythonObjects |
get_state() |
static SafePyObject |
get(BytePointer key) |
static SafePyObject |
get(String key) |
ThreadLocalPythonObjects |
getPointer(long i) |
ThreadLocalPythonObjects |
position(long position) |
static void |
set_state(ThreadLocalPythonObjects state) |
static void |
set(BytePointer key,
SafePyObject value) |
static void |
set(String key,
SafePyObject value) |
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 ThreadLocalPythonObjects()
public ThreadLocalPythonObjects(long size)
Pointer.position(long)
.public ThreadLocalPythonObjects(Pointer p)
Pointer(Pointer)
.public ThreadLocalPythonObjects position(long position)
public ThreadLocalPythonObjects getPointer(long i)
getPointer
in class Pointer
public static void set(@StdString BytePointer key, @SharedPtr SafePyObject value)
public static void set(@StdString String key, @SharedPtr SafePyObject value)
@SharedPtr public static SafePyObject get(@StdString BytePointer key)
@SharedPtr public static SafePyObject get(@StdString String key)
@Cast(value="bool") public static boolean contains(@StdString BytePointer key)
@Cast(value="bool") public static boolean contains(@StdString String key)
@Const @ByRef public static ThreadLocalPythonObjects get_state()
public static void set_state(@ByVal ThreadLocalPythonObjects state)
Copyright © 2024. All rights reserved.