27 const auto *node = loco::must_cast<const luci::CircleIf *>(circle_node);
28 auto output_nodes = collectOutputNodes<luci::CircleIfOut>(node);
29 assert(node->arity() == 1 + node->input_count());
30 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::If>(cond, std::move(inputs), std::move(outputs), then_graph,