| Package | Description |
|---|---|
| org.bytedeco.pytorch |
| Modifier and Type | Method and Description |
|---|---|
StringSharedModuleDict |
StringSharedModuleDict.getPointer(long i) |
StringSharedModuleDict |
Module.named_children()
Returns an
OrderedDict of the direct submodules of this Module and
their keys. |
StringSharedModuleDict |
Module.named_modules() |
StringSharedModuleDict |
Module.named_modules(BytePointer name_prefix,
boolean include_self)
Returns an
OrderedDict of the submodules of this Module (the entire
submodule hierarchy) and their keys, and if include_self is true, also
inserts a shared_ptr to this module in the first position. |
StringSharedModuleDict |
Module.named_modules(String name_prefix,
boolean include_self) |
StringSharedModuleDict |
StringSharedModuleDict.position(long position) |
StringSharedModuleDict |
StringSharedModuleDict.put(StringSharedModuleDict other)
Assigns items from
other to this OrderedDict. |
| Modifier and Type | Method and Description |
|---|---|
StringSharedModuleDict |
StringSharedModuleDict.put(StringSharedModuleDict other)
Assigns items from
other to this OrderedDict. |
void |
StringSharedModuleDict.update(StringSharedModuleDict other)
Inserts all items from
other into this OrderedDict. |
| Constructor and Description |
|---|
ModuleDictImpl(StringSharedModuleDict modules)
Constructs the
ModuleDict from an OrderedDict. |
StringSharedModuleDict(StringSharedModuleDict other)
Copy constructs this
OrderedDict from other. |
Copyright © 2024. All rights reserved.