#include <TensorRegistries.h>
Definition at line 36 of file TensorRegistries.h.
◆ TensorRegistries() [1/2]
onert::compiler::train::TensorRegistries::TensorRegistries |
( |
| ) |
|
|
default |
◆ TensorRegistries() [2/2]
Definition at line 41 of file TensorRegistries.h.
43 {
44 for (const auto &e : backend_contexts)
45 {
46 auto tensor_reg = e.second->tensor_registry();
48 {
49 _builtin_tensor_reg =
50 std::dynamic_pointer_cast<backend::builtin::train::TensorRegistry>(tensor_reg);
51 if (include_builtin)
52 _tensor_regs.insert(tensor_reg);
53 }
54 else
55 {
56 _tensor_regs.insert(tensor_reg);
57 }
58 }
59 }
References onert::backend::builtin::Config::ID.
◆ begin()
◆ end()
◆ getBackPropITensor()
Definition at line 86 of file TensorRegistries.h.
87 {
88 for (const auto &tensor_reg : _tensor_regs)
89 {
90 auto tensor = tensor_reg->getBackPropITensor(index);
91 if (tensor)
93 }
94 return nullptr;
95 }
◆ getBuiltinTensorRegistry()
◆ getITensor()
◆ iterateTrainableTensors()
The documentation for this class was generated from the following file: