Skip to content

Commit 11b7c7e

Browse files
committed
pylint
1 parent 84562d0 commit 11b7c7e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python/tvm/relax/backend/contrib/cutlass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
"""Pattern table for CUTLASS backend"""
1919

20-
from typing import Mapping, Optional, Tuple
20+
from typing import Mapping, Optional
2121

2222
import tvm
2323
from tvm.contrib.cutlass.build import is_shape_valid_for_cutlass_matmul
24-
from tvm.relax import Call, Expr, ShapeExpr, transform
24+
from tvm.relax import Call, Expr, transform
2525
from tvm.relax.dpl import CallPattern, DFPattern
2626

2727
from ..pattern_registry import get_patterns_with_prefix, register_patterns

python/tvm/relax/testing/matmul.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17+
"""Utilities to construct matmul workloads."""
1718
import tvm
1819
from tvm.script import relax as R
1920
from tvm.script.ir_builder import IRBuilder
@@ -23,6 +24,7 @@
2324
def get_relax_matmul_module(
2425
x_shape, y_shape, dtype, transposed_y=False, with_bias=False, activation=None
2526
):
27+
"""Create a module with matmul op followed by activation."""
2628
if transposed_y:
2729
n = y_shape[-2]
2830
else:

0 commit comments

Comments
 (0)