ONE - On-device Neural Engine
|
#include <IfLayer.h>
Public Member Functions | |
IfLayer (backend::IPortableTensor *cond_tensor, const std::vector< backend::IPortableTensor * > input_tensors, const std::vector< backend::IPortableTensor * > output_tensors, const ir::SubgraphIndex &then_subg_index, const ir::SubgraphIndex &else_subg_index, exec::IExecutors *executors, const ir::ModelIndex &model_index, const std::shared_ptr< ExternalContext > &external_context) | |
void | run () override |
![]() | |
virtual | ~IFunction ()=default |
virtual void | prepare () |
onert::backend::builtin::kernel::IfLayer::IfLayer | ( | backend::IPortableTensor * | cond_tensor, |
const std::vector< backend::IPortableTensor * > | input_tensors, | ||
const std::vector< backend::IPortableTensor * > | output_tensors, | ||
const ir::SubgraphIndex & | then_subg_index, | ||
const ir::SubgraphIndex & | else_subg_index, | ||
exec::IExecutors * | executors, | ||
const ir::ModelIndex & | model_index, | ||
const std::shared_ptr< ExternalContext > & | external_context | ||
) |
Definition at line 22 of file IfLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 35 of file IfLayer.cc.
References onert::exec::IExecutors::at(), onert::exec::IExecutor::currentOptions(), onert::exec::IExecutors::entryExecutor(), onert::exec::IExecutor::execute(), and VERBOSE.