ONE - On-device Neural Engine
|
Class to gather executor set for signature entry Actually it is wrapper of IExecutors(SignatureExecutors) More...
#include <SignatureExecutors.h>
Public Member Functions | |
SignatureExecutors (void)=default | |
Construct a new SignatureExecutors object. | |
SignatureExecutors (const SignatureExecutors &)=delete | |
SignatureExecutors (SignatureExecutors &&)=default | |
~SignatureExecutors ()=default | |
Destroy the SignatureExecutors object. | |
SignatureExecutors (const std::shared_ptr< IExecutors > &executors, const ir::SubgraphIndex &entry_index) | |
Convert IExecutors to SignatureExecutors. | |
IExecutor * | entryExecutor () const override |
![]() | |
SingleModelExecutors (void)=default | |
Construct a new SingleModelExecutors object. | |
SingleModelExecutors (const SingleModelExecutors &)=delete | |
SingleModelExecutors (SingleModelExecutors &&)=default | |
~SingleModelExecutors ()=default | |
Destroy the SingleModelExecutors object. | |
void | emplace (const ir::ModelIndex &model_index, const ir::SubgraphIndex &subg_index, std::unique_ptr< IExecutor > exec) override |
Insert executor in executor set. | |
IExecutor * | at (const ir::ModelIndex &model_index, const ir::SubgraphIndex &subg_index) const override |
Return executor of index. | |
uint32_t | inputSize () const override |
Return executor set's number of input. | |
uint32_t | outputSize () const override |
Return executor set's number of output. | |
const ir::OperandInfo & | inputInfo (const ir::IOIndex &index) const override |
Return NN package input tensor info. | |
const ir::OperandInfo & | outputInfo (const ir::IOIndex &index) const override |
Return NN package output tensor info. | |
const void * | outputBuffer (const ir::IOIndex &index) const final |
Return NN package output buffer. | |
const backend::IPortableTensor * | outputTensor (const ir::IOIndex &index) const final |
Return NN package output tensor. | |
void | execute (ExecutionContext &ctx) override |
Execute NN package executor set. | |
![]() | |
virtual | ~IExecutors ()=default |
Virtual IExecutors destructor. | |
Class to gather executor set for signature entry Actually it is wrapper of IExecutors(SignatureExecutors)
Definition at line 32 of file SignatureExecutors.h.
|
default |
Construct a new SignatureExecutors object.
|
delete |
|
default |
|
default |
Destroy the SignatureExecutors object.
onert::exec::SignatureExecutors::SignatureExecutors | ( | const std::shared_ptr< IExecutors > & | executors, |
const ir::SubgraphIndex & | entry_index | ||
) |
Convert IExecutors to SignatureExecutors.
[in] | executors | Executors object to convert |
[in] | index | subgraph index of the signature |
Definition at line 22 of file SignatureExecutors.cc.
|
overridevirtual |
Reimplemented from onert::exec::IExecutors.
Definition at line 31 of file SignatureExecutors.cc.