@Namespace(value="torch::torch_dispatch_mode") @NoOffset @Properties(inherit=torch.class) public class StashTorchDispatchModeGuard extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StashTorchDispatchModeGuard() |
StashTorchDispatchModeGuard(long size)
Native array allocator.
|
StashTorchDispatchModeGuard(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
PyObject_TorchDispatchMode |
get_cur_mode() |
StashTorchDispatchModeGuard |
getPointer(long i) |
StashTorchDispatchModeGuard |
position(long position) |
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 StashTorchDispatchModeGuard(Pointer p)
Pointer(Pointer)
.public StashTorchDispatchModeGuard(long size)
Pointer.position(long)
.public StashTorchDispatchModeGuard()
public StashTorchDispatchModeGuard position(long position)
public StashTorchDispatchModeGuard getPointer(long i)
getPointer
in class Pointer
@Const @SharedPtr(value="c10::impl::PyObject_TorchDispatchMode") @ByRef public PyObject_TorchDispatchMode get_cur_mode()
Copyright © 2024. All rights reserved.