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