You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/06/27 23:34:18 UTC
[tvm] 10/34: fix pylint because i'm not sure why it's different
This is an automated email from the ASF dual-hosted git repository.
areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 25ebf4c2100776bc009d853b4c8beb33339fc4bf
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Thu Jun 2 17:44:10 2022 -0700
fix pylint because i'm not sure why it's different
---
python/tvm/testing/utils.py | 3 +--
python/tvm/topi/adreno/utils.py | 3 ++-
python/tvm/topi/x86/concat.py | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py
index 5a6ded9bcb..8da7c06959 100644
--- a/python/tvm/testing/utils.py
+++ b/python/tvm/testing/utils.py
@@ -75,11 +75,10 @@ import platform
import shutil
import sys
import time
-
from typing import Optional, Callable, Union, List
-import pytest
import numpy as np
+import pytest
import tvm
import tvm.arith
diff --git a/python/tvm/topi/adreno/utils.py b/python/tvm/topi/adreno/utils.py
index 78a992e56a..3e93d104f4 100644
--- a/python/tvm/topi/adreno/utils.py
+++ b/python/tvm/topi/adreno/utils.py
@@ -17,8 +17,9 @@
# pylint: disable=invalid-name,unused-variable,unused-argument,no-else-return
"""util functions to be reused in different compute/schedule on Qualcomm Adreno GPU"""
-import tvm
import numpy
+
+import tvm
from tvm import te
from tvm.topi.utils import simplify
from tvm.topi import nn
diff --git a/python/tvm/topi/x86/concat.py b/python/tvm/topi/x86/concat.py
index 28f650bca9..81b5f79e3d 100644
--- a/python/tvm/topi/x86/concat.py
+++ b/python/tvm/topi/x86/concat.py
@@ -16,6 +16,7 @@
# under the License.
"concatenate related operators"
from typing import Optional
+import numpy as np
import tvm
from tvm import te
import numpy as np