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