From c11337ae79ad61ad2aa39709418e751a7b1a8290 Mon Sep 17 00:00:00 2001 From: Ruihang Lai Date: Wed, 28 Jul 2021 08:37:46 +0800 Subject: [PATCH] Fix lint --- python/tvm/tir/schedule/schedule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/tvm/tir/schedule/schedule.py b/python/tvm/tir/schedule/schedule.py index a018dc3ef08e..9f8870a968c3 100644 --- a/python/tvm/tir/schedule/schedule.py +++ b/python/tvm/tir/schedule/schedule.py @@ -637,7 +637,8 @@ def after_rfactor(a: ty.handle, b: ty.handle) -> None: in the block binding; 3) `loop` is not parallelized, vectorized, unrolled or bound to any thread axis; 4) The block scope that `loop` is in is a staged-pipeline; - 5) The outermost loop outside the reduction block should has the reduction block as its first child block; + 5) The outermost loop outside the reduction block should has the reduction block as its + first child block; 6) The outermost reduction loop should have only one child block; 7) An unary extent loop that is not bound to any reduction or data parallel variables in the block binding should not appear under some reduction loop;