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