Package | Description |
---|---|
org.bytedeco.pytorch |
Modifier and Type | Method and Description |
---|---|
AnyModule |
StringAnyModuleDictItem.access()
Allows access to the value using the arrow operator.
|
AnyModule |
AnyModuleVector.back() |
AnyModule |
AnyModule.clone() |
AnyModule |
AnyModule.clone(DeviceOptional device)
Creates a deep copy of an
AnyModule if it contains a module, else an
empty AnyModule if it is empty. |
AnyModule |
TransformerOptions.custom_decoder() |
AnyModule |
TransformerOptions.custom_encoder() |
AnyModule |
TransformerImpl.decoder()
decoder module
|
AnyModule |
TransformerImpl.encoder()
encoder module
|
AnyModule |
StringAnyModuleDict.find(BytePointer key)
Returns a pointer to the value associated with the given key, or a
nullptr if no such key is stored in the OrderedDict . |
AnyModule |
StringAnyModuleDict.find(String key) |
AnyModule |
AnyModuleVector.front() |
AnyModule[] |
AnyModuleVector.get() |
AnyModule |
AnyModuleVector.Iterator.get() |
AnyModule |
StringAnyModuleDict.get(BytePointer key)
Returns the value associated with the given
key . |
AnyModule |
AnyModuleVector.get(long i) |
AnyModule |
StringAnyModuleDict.get(String key) |
AnyModule |
AnyModule.getPointer(long i) |
AnyModule |
StringAnyModuleDict.insert(BytePointer key,
AnyModule value)
Inserts a new
(key, value) pair into the OrderedDict . |
AnyModule |
StringAnyModuleDict.insert(String key,
AnyModule value) |
AnyModule |
StringAnyModuleDictItem.multiply()
Returns a reference to the value.
|
AnyModule |
TransformerDecoderImpl.norm()
optional layer normalization module
|
AnyModule |
TransformerDecoderOptions.norm() |
AnyModule |
TransformerEncoderOptions.norm() |
AnyModule |
TransformerEncoderImpl.norm()
optional normalization module
|
AnyModule |
AnyModuleVector.pop_back() |
AnyModule |
AnyModule.position(long position) |
AnyModule |
AnyModule.put(AnyModule arg0) |
AnyModule |
StringAnyModulePair.second() |
AnyModule |
StringAnyModuleVector.second(long i) |
AnyModule |
StringAnyModuleDictItem.value()
Returns a reference to the value.
|
Modifier and Type | Method and Description |
---|---|
TransformerImpl |
TransformerImpl.decoder(AnyModule setter) |
TransformerImpl |
TransformerImpl.encoder(AnyModule setter) |
AnyModuleVector.Iterator |
AnyModuleVector.insert(AnyModuleVector.Iterator pos,
AnyModule value) |
AnyModule |
StringAnyModuleDict.insert(BytePointer key,
AnyModule value)
Inserts a new
(key, value) pair into the OrderedDict . |
AnyModule |
StringAnyModuleDict.insert(String key,
AnyModule value) |
TransformerDecoderImpl |
TransformerDecoderImpl.norm(AnyModule setter) |
TransformerEncoderImpl |
TransformerEncoderImpl.norm(AnyModule setter) |
AnyModuleVector |
AnyModuleVector.push_back(AnyModule value) |
void |
SequentialImpl.push_back(AnyModule any_module)
Adds a type-erased
AnyModule to the Sequential . |
void |
SequentialImpl.push_back(BytePointer name,
AnyModule any_module) |
void |
SequentialImpl.push_back(String name,
AnyModule any_module) |
AnyModuleVector |
AnyModuleVector.put(AnyModule... array) |
AnyModuleVector |
AnyModuleVector.put(AnyModule value) |
AnyModule |
AnyModule.put(AnyModule arg0) |
StringAnyModuleVector |
StringAnyModuleVector.put(BytePointer[] firstValue,
AnyModule[] secondValue) |
StringAnyModulePair |
StringAnyModulePair.put(BytePointer firstValue,
AnyModule secondValue) |
AnyModuleVector |
AnyModuleVector.put(long i,
AnyModule value) |
StringAnyModuleVector |
StringAnyModuleVector.put(String[] firstValue,
AnyModule[] secondValue) |
StringAnyModulePair |
StringAnyModulePair.put(String firstValue,
AnyModule secondValue) |
StringAnyModulePair |
StringAnyModulePair.second(AnyModule second) |
StringAnyModuleVector |
StringAnyModuleVector.second(long i,
AnyModule second) |
Constructor and Description |
---|
AnyModule(AnyModule arg0)
Move construction and assignment is allowed, and follows the default
behavior of move for
std::unique_ptr . |
AnyModuleVector(AnyModule... array) |
AnyModuleVector(AnyModule value) |
StringAnyModuleDictItem(BytePointer key,
AnyModule value)
Constructs a new item.
|
StringAnyModuleDictItem(String key,
AnyModule value) |
StringAnyModulePair(BytePointer firstValue,
AnyModule secondValue) |
StringAnyModulePair(String firstValue,
AnyModule secondValue) |
StringAnyModuleVector(BytePointer[] firstValue,
AnyModule[] secondValue) |
StringAnyModuleVector(String[] firstValue,
AnyModule[] secondValue) |
Copyright © 2024. All rights reserved.