ONE - On-device Neural Engine
|
#include <AbstractBackend.h>
Public Member Functions | |
virtual | ~AbstractBackend ()=default |
virtual ::tflite::Interpreter & | interpreter (void)=0 |
void | prepare (const std::function< void(TensorContext &)> &f) override |
void | run (void) override |
void | teardown (const std::function< void(TensorContext &)> &f) override |
Public Member Functions inherited from nnkit::Backend | |
virtual | ~Backend ()=default |
virtual void | prepare (const std::function< void(TensorContext &)> &f)=0 |
virtual void | teardown (const std::function< void(TensorContext &)> &f)=0 |
Definition at line 30 of file AbstractBackend.h.
|
virtualdefault |
|
pure virtual |
Implemented in ConvBackend.
Referenced by prepare(), run(), and teardown().
|
override |
Definition at line 32 of file Backend.cpp.
References interpreter().
|
overridevirtual |
Implements nnkit::Backend.
Definition at line 41 of file Backend.cpp.
References interpreter().
Referenced by package.infer.session::inference().
|
override |
Definition at line 43 of file Backend.cpp.
References interpreter().