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