Skip to content

Commit

Permalink
fix black hits
Browse files Browse the repository at this point in the history
  • Loading branch information
elvin-n committed Jul 26, 2022
1 parent caceb7e commit 72fc432
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions tests/python/relay/test_conv2d_nchw_texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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 = []
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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)

0 comments on commit 72fc432

Please sign in to comment.