40 tflchef::Operation *operation = ctx->
chefop;
41 const tflite::Operator *op = ctx->
tflop;
43 auto op_params = op->builtin_options_as_DepthwiseConv2DOptions();
44 assert(op_params !=
nullptr);
46 operation->set_type(
"DepthwiseConv2D");
48 auto op_options = operation->mutable_depthwiseconv2d_options();
51 op_options->set_stride_h(op_params->stride_h());
52 op_options->set_stride_w(op_params->stride_w());
53 op_options->set_depth_multiplier(op_params->depth_multiplier());
54 op_options->set_dilation_w_factor(op_params->dilation_w_factor());
55 op_options->set_dilation_h_factor(op_params->dilation_h_factor());
tflchef::Operation * chefop
const tflite::Operator * tflop