#include <Backend.h>
Definition at line 35 of file Backend.h.
◆ Backend()
onert::backend::ruy::Backend::Backend |
( |
| ) |
|
|
inline |
Definition at line 38 of file Backend.h.
38: _config{std::make_shared<Config>()} {}
◆ config()
std::shared_ptr< IConfig > onert::backend::ruy::Backend::config |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ newContext()
Implements onert::backend::Backend.
Definition at line 42 of file Backend.h.
43 {
44 auto custom_kernel_builder =
data.custom_kernel_builder;
46 auto context = std::make_unique<BackendContext>(this, std::move(data));
47 auto tr = std::make_shared<basic::TensorRegistry>();
48 auto tb = std::make_shared<TensorBuilder>(tr);
49 context->tensor_registry = tr;
50 context->tensor_builder = tb;
51 context->kernel_gen = std::make_shared<KernelGenerator>(graph, tb, tr, custom_kernel_builder,
52 context->external_context());
53 return context;
54 }
The documentation for this class was generated from the following file: