@Name(value="std::vector<at::indexing::TensorIndex>") @Properties(inherit=torch.class) public class TensorIndexVector extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
TensorIndexVector.Iterator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorIndexVector() |
TensorIndexVector(long n) |
TensorIndexVector(Pointer p)
Pointer cast constructor.
|
TensorIndexVector(TensorIndex... array) |
TensorIndexVector(TensorIndex value) |
Modifier and Type | Method and Description |
---|---|
TensorIndex |
back() |
TensorIndexVector.Iterator |
begin() |
void |
clear() |
boolean |
empty() |
TensorIndexVector.Iterator |
end() |
TensorIndexVector.Iterator |
erase(TensorIndexVector.Iterator pos) |
TensorIndex |
front() |
TensorIndex[] |
get() |
TensorIndex |
get(long i) |
TensorIndexVector.Iterator |
insert(TensorIndexVector.Iterator pos,
TensorIndex value) |
TensorIndex |
pop_back() |
TensorIndexVector |
push_back(TensorIndex value) |
TensorIndexVector |
put(long i,
TensorIndex value) |
TensorIndexVector |
put(TensorIndex... array) |
TensorIndexVector |
put(TensorIndex value) |
TensorIndexVector |
put(TensorIndexVector x) |
void |
resize(long n) |
long |
size() |
String |
toString() |
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, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TensorIndexVector(Pointer p)
Pointer(Pointer)
.public TensorIndexVector(TensorIndex value)
public TensorIndexVector(TensorIndex... array)
public TensorIndexVector()
public TensorIndexVector(long n)
@Name(value="operator =") @ByRef public TensorIndexVector put(@ByRef TensorIndexVector x)
public boolean empty()
public long size()
public void clear()
public TensorIndex front()
public TensorIndex back()
public TensorIndexVector put(@Cast(value="size_t") long i, TensorIndex value)
@ByVal public TensorIndexVector.Iterator insert(@ByVal TensorIndexVector.Iterator pos, @ByRef TensorIndex value)
@ByVal public TensorIndexVector.Iterator erase(@ByVal TensorIndexVector.Iterator pos)
@ByVal public TensorIndexVector.Iterator begin()
@ByVal public TensorIndexVector.Iterator end()
public TensorIndex[] get()
public TensorIndex pop_back()
public TensorIndexVector push_back(TensorIndex value)
public TensorIndexVector put(TensorIndex value)
public TensorIndexVector put(TensorIndex... array)
Copyright © 2024. All rights reserved.