@NoOffset @Name(value="std::optional<std::shared_ptr<c10::SafePyObjectT<c10::impl::TorchDispatchModeKey> > >") @Properties(inherit=torch.class) public class PyObject_TorchDispatchModeOptional extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
PyObject_TorchDispatchModeOptional() |
PyObject_TorchDispatchModeOptional(Pointer p)
Pointer cast constructor.
|
PyObject_TorchDispatchModeOptional(PyObject_TorchDispatchMode value) |
Modifier and Type | Method and Description |
---|---|
PyObject_TorchDispatchMode |
get() |
boolean |
has_value() |
PyObject_TorchDispatchModeOptional |
put(PyObject_TorchDispatchMode value) |
PyObject_TorchDispatchModeOptional |
put(PyObject_TorchDispatchModeOptional x) |
void |
reset() |
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 PyObject_TorchDispatchModeOptional(Pointer p)
Pointer(Pointer)
.public PyObject_TorchDispatchModeOptional(PyObject_TorchDispatchMode value)
public PyObject_TorchDispatchModeOptional()
@Name(value="operator =") @ByRef public PyObject_TorchDispatchModeOptional put(@ByRef PyObject_TorchDispatchModeOptional x)
public boolean has_value()
public void reset()
@Name(value="value") @SharedPtr(value="c10::SafePyObjectT<c10::impl::TorchDispatchModeKey>") public PyObject_TorchDispatchMode get()
@ValueSetter public PyObject_TorchDispatchModeOptional put(@SharedPtr(value="c10::SafePyObjectT<c10::impl::TorchDispatchModeKey>") PyObject_TorchDispatchMode value)
Copyright © 2024. All rights reserved.