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