diff options
Diffstat (limited to 'ethosu/vela/tflite_graph_optimiser.py')
-rw-r--r-- | ethosu/vela/tflite_graph_optimiser.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethosu/vela/tflite_graph_optimiser.py b/ethosu/vela/tflite_graph_optimiser.py index f3ca1b63..574d298a 100644 --- a/ethosu/vela/tflite_graph_optimiser.py +++ b/ethosu/vela/tflite_graph_optimiser.py @@ -454,7 +454,9 @@ def convert_resize_to_upscale_and_average_pool(op): # use depthwise conv to select the correct value scaled_op = convert_resizenn_ac_to_depthwise_conv(scaled_op, upscale_factor) else: - # keep 1x1 kernel and average pool + # Keep 1x1 kernel and average pool, this applies both when + # half-pixel-centers is True and False. Calculations are the + # same in the reference. pass scaled_op.outputs = outputs |