@Name(value="c10::ArrayRef<c10::intrusive_ptr<c10::SymNodeImpl> >") @NoOffset @Properties(inherit=torch.class) public class SymNodeArrayRef extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description | 
|---|
SymNodeArrayRef()
\name Constructors
  \{ 
 | 
SymNodeArrayRef(long size)
Native array allocator. 
 | 
SymNodeArrayRef(Pointer p)
Pointer cast constructor. 
 | 
SymNodeArrayRef(SymNode data,
               long length)
Construct an ArrayRef from a pointer and length. 
 | 
SymNodeArrayRef(SymNode begin,
               SymNode end)
Construct an ArrayRef from a range. 
 | 
SymNodeArrayRef(SymNodeVector vec)
Construct an ArrayRef from a std::vector. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SymNode | 
at(long Index)
Vector compatibility 
 | 
SymNode | 
back()
back - Get the last element. 
 | 
SymNode | 
begin()
\}
  \name Simple Operations
  \{ 
 | 
SymNode | 
cbegin()  | 
SymNode | 
cend()  | 
SymNode | 
data()  | 
boolean | 
empty()
empty - Check if the array is empty. 
 | 
SymNode | 
end()  | 
boolean | 
equals(SymNodeArrayRef RHS)
equals - Check for element-wise equality. 
 | 
SymNode | 
front()
front - Get the first element. 
 | 
SymNode | 
get(long Index)
\}
  \name Operator Overloads
  \{ 
 | 
SymNodeArrayRef | 
getPointer(long i)  | 
SymNodeArrayRef | 
position(long position)  | 
long | 
size()
size - Get the array size. 
 | 
SymNodeArrayRef | 
slice(long N)
slice(n) - Chop off the first N elements of the array. 
 | 
SymNodeArrayRef | 
slice(long N,
     long M)
slice(n, m) - Take M elements of the array starting at element N 
 | 
SymNodeVector | 
vec()
\}
  \name Expensive Operations
  \{ 
 | 
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, zeropublic SymNodeArrayRef(Pointer p)
Pointer(Pointer).public SymNodeArrayRef(long size)
Pointer.position(long).public SymNodeArrayRef()
Construct an empty ArrayRef.
public SymNodeArrayRef(@Const @IntrusivePtr(value="c10::SymNodeImpl") SymNode data, @Cast(value="size_t") long length)
public SymNodeArrayRef(@Const @IntrusivePtr(value="c10::SymNodeImpl") SymNode begin, @Const @IntrusivePtr(value="c10::SymNodeImpl") SymNode end)
public SymNodeArrayRef(@ByRef SymNodeVector vec)
public SymNodeArrayRef position(long position)
public SymNodeArrayRef getPointer(long i)
getPointer in class Pointer@Const @IntrusivePtr(value="c10::SymNodeImpl") public SymNode data()
@IntrusivePtr(value="c10::SymNodeImpl") @Cast(value={"","c10::intrusive_ptr<c10::SymNodeImpl>&"}) public SymNode front()
@IntrusivePtr(value="c10::SymNodeImpl") @Cast(value={"","c10::intrusive_ptr<c10::SymNodeImpl>&"}) public SymNode back()
@Cast(value="const bool") public boolean equals(@ByVal SymNodeArrayRef RHS)
@Const @ByVal public SymNodeArrayRef slice(@Cast(value="size_t") long N, @Cast(value="size_t") long M)
@Const @ByVal public SymNodeArrayRef slice(@Cast(value="size_t") long N)
@IntrusivePtr(value="c10::SymNodeImpl") @Name(value="operator []") @Cast(value={"","c10::intrusive_ptr<c10::SymNodeImpl>&"}) public SymNode get(@Cast(value="size_t") long Index)
@IntrusivePtr(value="c10::SymNodeImpl") @Cast(value={"","c10::intrusive_ptr<c10::SymNodeImpl>&"}) public SymNode at(@Cast(value="size_t") long Index)
@ByVal public SymNodeVector vec()
Copyright © 2025. All rights reserved.