@Name(value="std::vector<std::pair<std::string,torch::nn::AnyModule> >") @Properties(inherit=torch.class) public class StringAnyModuleVector extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StringAnyModuleVector() |
StringAnyModuleVector(BytePointer[] firstValue,
AnyModule[] secondValue) |
StringAnyModuleVector(long n) |
StringAnyModuleVector(Pointer p)
Pointer cast constructor.
|
StringAnyModuleVector(String[] firstValue,
AnyModule[] secondValue) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
empty() |
BytePointer |
first(long i) |
StringAnyModuleVector |
first(long i,
BytePointer first) |
StringAnyModuleVector |
first(long i,
String first) |
StringAnyModuleVector |
put(BytePointer[] firstValue,
AnyModule[] secondValue) |
StringAnyModuleVector |
put(String[] firstValue,
AnyModule[] secondValue) |
StringAnyModuleVector |
put(StringAnyModuleVector x) |
void |
resize(long n) |
AnyModule |
second(long i) |
StringAnyModuleVector |
second(long i,
AnyModule second) |
long |
size() |
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, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public StringAnyModuleVector(Pointer p)
Pointer(Pointer)
.public StringAnyModuleVector(BytePointer[] firstValue, AnyModule[] secondValue)
public StringAnyModuleVector()
public StringAnyModuleVector(long n)
@Name(value="operator =") @ByRef public StringAnyModuleVector put(@ByRef StringAnyModuleVector x)
public boolean empty()
public long size()
public void clear()
@Index(function="at") @StdString public BytePointer first(@Cast(value="size_t") long i)
public StringAnyModuleVector first(@Cast(value="size_t") long i, BytePointer first)
public StringAnyModuleVector second(@Cast(value="size_t") long i, AnyModule second)
@MemberSetter @Index(function="at") public StringAnyModuleVector first(@Cast(value="size_t") long i, @StdString String first)
public StringAnyModuleVector put(BytePointer[] firstValue, AnyModule[] secondValue)
public StringAnyModuleVector put(String[] firstValue, AnyModule[] secondValue)
Copyright © 2024. All rights reserved.