38 tflchef::Operation *operation = ctx->
chefop;
39 const tflite::Operator *op = ctx->
tflop;
41 auto op_params = op->builtin_options_as_WhileOptions();
42 assert(op_params !=
nullptr);
44 operation->set_type(
"While");
46 auto op_options = operation->mutable_while_options();
48 op_options->set_body_subgraph_index(op_params->body_subgraph_index());
49 op_options->set_cond_subgraph_index(op_params->cond_subgraph_index());
tflchef::Operation * chefop
const tflite::Operator * tflop