@Name(value="torch::OrderedDict<std::string,torch::nn::AnyModule>::Item") @NoOffset @Properties(inherit=torch.class) public class StringAnyModuleDictItem extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description | 
|---|
StringAnyModuleDictItem(BytePointer key,
                       AnyModule value)
Constructs a new item. 
 | 
StringAnyModuleDictItem(Pointer p)
Pointer cast constructor. 
 | 
StringAnyModuleDictItem(String key,
                       AnyModule value)  | 
| Modifier and Type | Method and Description | 
|---|---|
AnyModule | 
access()
Allows access to the value using the arrow operator. 
 | 
BytePointer | 
key()
Returns a reference to the key. 
 | 
AnyModule | 
multiply()
Returns a reference to the value. 
 | 
StringAnyModulePair | 
pair()
Returns a  
(key, value) pair. | 
AnyModule | 
value()
Returns a reference to the value. 
 | 
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, zeropublic StringAnyModuleDictItem(Pointer p)
Pointer(Pointer).public StringAnyModuleDictItem(@StdString BytePointer key, @ByVal AnyModule value)
public StringAnyModuleDictItem(@StdString String key, @ByVal AnyModule value)
@ByRef @Name(value="operator *") public AnyModule multiply()
@Name(value="operator ->") public AnyModule access()
@StdString @NoException(value=true) public BytePointer key()
@ByRef @NoException(value=true) public AnyModule value()
@Const @ByRef @NoException(value=true) public StringAnyModulePair pair()
(key, value) pair.Copyright © 2025. All rights reserved.