@Name(value="c10::impl::ListElementReference<c10::optional<at::Tensor>,c10::detail::ListImpl::list_type::iterator>") @NoOffset @Properties(inherit=torch.class) public class TensorOptionalElementReference extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorOptionalElementReference(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IValue |
get() |
TensorOptional |
getTensorOptional() |
void |
swap(TensorOptionalElementReference rhs) |
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 TensorOptionalElementReference(Pointer p)
Pointer(Pointer)
.@Name(value="operator std::conditional_t<std::is_reference<c10::detail::ivalue_to_const_ref_overload_return<c10::optional<at::Tensor> >::type>::value,const c10::optional<at::Tensor>&,c10::optional<at::Tensor> >") @ByVal public TensorOptional getTensorOptional()
public void swap(TensorOptionalElementReference rhs)
Copyright © 2024. All rights reserved.