27 const auto *node = loco::must_cast<const luci::CircleWhile *>(circle_node);
29 auto output_nodes = collectOutputNodes<luci::CircleWhileOut>(node);
30 assert(node->arity() == node->input_count());
31 assert(output_nodes.size() ==
static_cast<size_t>(node->output_count()));
33 std::vector<const Tensor *> inputs(node->input_count());
34 for (uint32_t i = 0; i < node->input_count(); ++i)
43 return std::make_unique<kernels::While>(std::move(inputs), std::move(outputs), cond_graph,