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