32 tflchef::Operation *operation = ctx->
chefop;
33 const tflite::Operator *op = ctx->
tflop;
35 auto op_params = op->builtin_options_as_SqueezeOptions();
36 assert(op_params !=
nullptr);
38 operation->set_type(
"Squeeze");
40 auto op_options = operation->mutable_squeeze_options();
42 std::vector<int32_t> squeeze_dims =
as_index_vector(op_params->squeeze_dims());
44 for (
auto dim : squeeze_dims)
46 op_options->add_squeeze_dim(dim);
tflchef::Operation * chefop
const tflite::Operator * tflop