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/07/12 21:47:55 UTC

[tvm] 10/47: 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 63443c44f6950069ef97400ceb08e0f5f86f4703
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     | 2 +-
 python/tvm/topi/adreno/utils.py | 3 ++-
 python/tvm/topi/x86/concat.py   | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py
index 47bdab5828..f9a3c942f2 100644
--- a/python/tvm/testing/utils.py
+++ b/python/tvm/testing/utils.py
@@ -80,8 +80,8 @@ import time
 from pathlib import Path
 from typing import Optional, Callable, Union, List, Tuple
 
-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 ea19e7d77d..e72389df56 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 435dd1636c..768e14f559 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