#include <TensorRegistries.h>
Definition at line 34 of file TensorRegistries.h.
◆ TensorRegistries() [1/2]
onert::compiler::TensorRegistries::TensorRegistries |
( |
| ) |
|
|
default |
◆ TensorRegistries() [2/2]
Definition at line 39 of file TensorRegistries.h.
40 {
41 for (const auto &[backend, ctx] : backend_contexts)
42 {
43 auto tensor_reg = ctx->tensor_registry;
45 {
46 _builtin_tensor_reg =
47 std::dynamic_pointer_cast<backend::builtin::TensorRegistry>(tensor_reg);
48 if (include_builtin)
49 _tensor_regs.insert(tensor_reg);
50 }
51 else
52 {
53 _tensor_regs.insert(tensor_reg);
54 }
55 }
56 }
References onert::backend::builtin::Config::ID.
◆ begin()
◆ end()
◆ getBuiltinTensorRegistry()
◆ getITensor()
The documentation for this class was generated from the following file: