From 72fc43271280666bfe0b268bfeb607a146b40770 Mon Sep 17 00:00:00 2001 From: Andrey Malyshev Date: Tue, 26 Jul 2022 16:15:30 +0300 Subject: [PATCH] fix black hits --- .../python/relay/test_conv2d_nchw_texture.py | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/tests/python/relay/test_conv2d_nchw_texture.py b/tests/python/relay/test_conv2d_nchw_texture.py index 68e3326650879..330d6a72d1364 100644 --- a/tests/python/relay/test_conv2d_nchw_texture.py +++ b/tests/python/relay/test_conv2d_nchw_texture.py @@ -578,13 +578,13 @@ def test_plan_device_issue1(): } static_memory_scope = [ - "", - "global", - "global.texture-weight", - "global.texture", - "global.texture-weight", - "", - "" + "", + "global", + "global.texture-weight", + "global.texture", + "global.texture-weight", + "", + "", ] static_memory_scope = [] @@ -676,18 +676,18 @@ def test_branch_textures(): } static_memory_scope = [ - "", - "global", - "global.texture-weight", - "global.texture-weight", - "global", - "global.texture-weight", - "global.texture-weight", - "", - "", - "", - "", - "" + "", + "global", + "global.texture-weight", + "global.texture-weight", + "global", + "global.texture-weight", + "global.texture-weight", + "", + "", + "", + "", + "", ] static_memory_scope = [] @@ -801,7 +801,7 @@ def test_branch1_texture_params(): "global.texture-weight", "global.texture", "", - "" + "", ] build_run_compare(mod, params1, {"data": input_shape}, dtype, target, static_memory_scope) @@ -918,8 +918,8 @@ def test_branch2_texture_params(): "global.texture-weight", "global.texture", "", - "" - ] + "", + ] build_run_compare(mod, params1, {"data": input_shape}, dtype, target, static_memory_scope) @@ -986,7 +986,7 @@ def test_conv2d_different_param_scope(): "global.texture", "global.texture", "", - "" + "", ] build_run_compare(mod, params1, {"data": input_shape}, dtype, target, static_memory_scope)