25OMStatus onert_micro::import::configure_kernel_CircleWhile(
39 status = utils::checkCondition(options !=
nullptr);
49 const auto body_subgraph_index =
options->body_subgraph_index();
50 const auto cond_subgraph_index =
options->cond_subgraph_index();
53 status = runtime_module.
getRuntimeGraphAt(cond_subgraph_index, &cond_runtime_graph);
56 status = runtime_module.
getRuntimeGraphAt(body_subgraph_index, &body_runtime_graph);
71 const auto cond_output_tensor =
72 cond_runtime_context.
getTensorByIndex(
static_cast<int32_t
>(cond_output_index));
73 status = utils::checkCondition(cond_output_tensor->type() == circle::TensorType_BOOL);
uint32_t getGraphOutputTensorIndex(uint32_t index)
const circle::Tensor * getTensorByIndex(int32_t tensor_index)
uint32_t getNumberOfOutputs()
OMRuntimeContext & getRuntimeContext()
uint32_t getNumberOfInputs()
OMStatus getRuntimeGraphAt(uint32_t pos, OMRuntimeGraph **runtime_graph)
const circle::Operator * first_operator
OMStatus readKernel(uint16_t op_index, core::OMRuntimeContext &runtime_context)