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