From 2e8042c5e99da354ad68204fdcf603ff3aeca276 Mon Sep 17 00:00:00 2001 From: Ilya Gozman <92577591+ilyag-grovety@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:36:18 +0400 Subject: [PATCH] Fix lint --- tests/python/contrib/test_ethosu/test_codegen.py | 5 ++++- tests/python/contrib/test_ethosu/test_legalize.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/python/contrib/test_ethosu/test_codegen.py b/tests/python/contrib/test_ethosu/test_codegen.py index 9f3630073c311..90a1c88934cc3 100644 --- a/tests/python/contrib/test_ethosu/test_codegen.py +++ b/tests/python/contrib/test_ethosu/test_codegen.py @@ -1101,7 +1101,10 @@ def test_tflite_resize2d_nearest_neighbor(accel_type, ifm_shape, size, half_pixe @tf.function def resize_model(x): return tf.compat.v1.image.resize_nearest_neighbor( - x, size, align_corners=align_corners, half_pixel_centers=half_pixel, + x, + size, + align_corners=align_corners, + half_pixel_centers=half_pixel, ) infra.compare_tvm_with_tflite( diff --git a/tests/python/contrib/test_ethosu/test_legalize.py b/tests/python/contrib/test_ethosu/test_legalize.py index 5a108d82cde73..cd56a0b41f164 100644 --- a/tests/python/contrib/test_ethosu/test_legalize.py +++ b/tests/python/contrib/test_ethosu/test_legalize.py @@ -2359,7 +2359,10 @@ def create_tflite_graph(): @tf.function def resize_model(x): return tf.compat.v1.image.resize_nearest_neighbor( - x, size, align_corners=align_corners, half_pixel_centers=half_pixel, + x, + size, + align_corners=align_corners, + half_pixel_centers=half_pixel, ) concrete_func = resize_model.get_concrete_function(