public static Offset <tflite.DepthwiseConv2DOptions> CreateDepthwiseConv2DOptions(FlatBufferBuilder builder,
                                                                                   tflite.Padding padding = tflite.Padding.SAME,
                                                                                   int stride_w           = 0,
                                                                                   int stride_h           = 0,
                                                                                   int depth_multiplier   = 0,
                                                                                   tflite.ActivationFunctionType fused_activation_function = tflite.ActivationFunctionType.NONE,
                                                                                   int dilation_w_factor = 1,
                                                                                   int dilation_h_factor = 1)
 {
     builder.StartTable(7);
     DepthwiseConv2DOptions.AddDilationHFactor(builder, dilation_h_factor);
     DepthwiseConv2DOptions.AddDilationWFactor(builder, dilation_w_factor);
     DepthwiseConv2DOptions.AddDepthMultiplier(builder, depth_multiplier);
     DepthwiseConv2DOptions.AddStrideH(builder, stride_h);
     DepthwiseConv2DOptions.AddStrideW(builder, stride_w);
     DepthwiseConv2DOptions.AddFusedActivationFunction(builder, fused_activation_function);
     DepthwiseConv2DOptions.AddPadding(builder, padding);
     return(DepthwiseConv2DOptions.EndDepthwiseConv2DOptions(builder));
 }
 public static DepthwiseConv2DOptions GetRootAsDepthwiseConv2DOptions(ByteBuffer _bb, DepthwiseConv2DOptions obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }