ONE - On-device Neural Engine
|
#include <Backend.h>
Public Member Functions | |
Backend (std::unique_ptr<::caffe::Net< DType > > &&net) | |
void | prepare (const std::function< void(nnkit::TensorContext &)> &f) override |
void | run (void) override |
void | teardown (const std::function< void(nnkit::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 |
|
inline |
|
inlineoverride |
|
inlineoverridevirtual |
Implements nnkit::Backend.
Definition at line 55 of file Backend.h.
Referenced by package.infer.session::inference().
|
inlineoverride |