@Namespace(value="c10::ivalue") @NoOffset @Properties(inherit=torch.class) public class TupleElements extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TupleElements() |
TupleElements(IValue e1) |
TupleElements(IValueArrayRef elements) |
TupleElements(IValue e1,
IValue e2) |
TupleElements(IValue e1,
IValue e2,
IValue e3) |
TupleElements(IValueVector elements) |
TupleElements(long size)
Native array allocator.
|
TupleElements(Pointer p)
Pointer cast constructor.
|
TupleElements(TupleElements rhs) |
Modifier and Type | Method and Description |
---|---|
IValueArrayRef |
asArrayRef() |
IValueArrayRef |
asIValueArrayRef() |
IValueVector |
asIValueVector() |
IValue |
at(long idx) |
IValue |
back() |
IValue |
begin() |
IValue |
cbegin() |
IValue |
cend() |
boolean |
empty() |
IValue |
end() |
IValue |
get(long idx) |
TupleElements |
getPointer(long i) |
static long |
hash(TupleElements v) |
TupleElements |
position(long position) |
TupleElements |
put(TupleElements rhs) |
void |
setContents(IValueVector contents) |
long |
size() |
IValueVector |
vec() |
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 TupleElements(Pointer p)
Pointer(Pointer)
.public TupleElements(long size)
Pointer.position(long)
.public TupleElements()
public TupleElements(@ByVal IValueVector elements)
public TupleElements(@ByVal IValueArrayRef elements)
public TupleElements(@ByRef(value=true) IValue e1, @ByRef(value=true) IValue e2, @ByRef(value=true) IValue e3)
public TupleElements(@Const @ByRef TupleElements rhs)
public TupleElements position(long position)
public TupleElements getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public TupleElements put(@Const @ByRef TupleElements rhs)
@ByVal public IValueArrayRef asArrayRef()
@ByVal @Name(value="operator c10::ArrayRef<c10::IValue>") public IValueArrayRef asIValueArrayRef()
@Cast(value="size_t") public static long hash(@Const @ByRef TupleElements v)
public void setContents(@ByRef(value=true) IValueVector contents)
@ByVal public IValueVector vec()
@ByVal @Name(value="operator std::vector<c10::IValue>") public IValueVector asIValueVector()
Copyright © 2024. All rights reserved.