summaryrefslogtreecommitdiff
path: root/compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp')
-rw-r--r--compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp b/compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp
index b19f9330f..5fed3353a 100644
--- a/compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp
+++ b/compiler/tflchef/tflite/src/Op/DepthwiseConv2D.cpp
@@ -50,9 +50,8 @@ tflchef::Operation *TFliteOpDepthwiseConv2D::build(const tflite::Operator *op, T
op_options->set_stride_h(op_params->stride_h());
op_options->set_stride_w(op_params->stride_w());
op_options->set_depth_multiplier(op_params->depth_multiplier());
- // TODO support dilation
- // op_params->dilation_w_factor()
- // op_params->dilation_h_factor()
+ op_options->set_dilation_w_factor(op_params->dilation_w_factor());
+ op_options->set_dilation_h_factor(op_params->dilation_h_factor());
op_options->set_padding(as_tflchef_padding(op_params->padding()));
return operation;