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