ONE - On-device Neural Engine
|
#include <IConfig.h>
Public Member Functions | |
virtual | ~IConfig ()=default |
virtual std::string | id ()=0 |
Returns ID of the backend. | |
virtual bool | initialize ()=0 |
Initialize the backend. This is called as soon as the backend is loaded. | |
virtual void | sync () const |
The function that is called after each Operation run on profiling mode. This may be useful for profiling GPU-based or special computing units. | |
virtual std::unique_ptr< util::ITimer > | timer () |
Returns Timer object for this backend. For some computing units, it may need its own Timer implementation. | |
virtual bool | supportPermutation ()=0 |
virtual bool | supportDynamicTensor ()=0 |
virtual bool | supportFP16 ()=0 |
|
virtualdefault |
|
pure virtual |
Returns ID of the backend.
Implemented in onert::backend::acl_cl::Config, onert::backend::acl_neon::Config, onert::backend::cpu::Config, onert::backend::ruy::Config, onert::backend::train::Config, onert::backend::trix::Config, onert::backend::xnnpack::Config, and onert::backend::builtin::Config.
|
pure virtual |
Initialize the backend. This is called as soon as the backend is loaded.
Implemented in onert::backend::acl_cl::Config, onert::backend::acl_neon::Config, onert::backend::cpu::Config, onert::backend::ruy::Config, onert::backend::train::Config, onert::backend::trix::Config, onert::backend::xnnpack::Config, and onert::backend::builtin::Config.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
The function that is called after each Operation run on profiling mode. This may be useful for profiling GPU-based or special computing units.
Reimplemented in onert::backend::acl_cl::Config.
Definition at line 52 of file IConfig.h.
|
inlinevirtual |
Returns Timer object for this backend. For some computing units, it may need its own Timer implementation.
Reimplemented in onert::backend::acl_cl::Config, onert::backend::acl_neon::Config, onert::backend::cpu::Config, onert::backend::ruy::Config, onert::backend::train::Config, onert::backend::trix::Config, onert::backend::xnnpack::Config, and onert::backend::builtin::Config.
Definition at line 59 of file IConfig.h.