tlopex commented on code in PR #16065:
URL: https://github.com/apache/tvm/pull/16065#discussion_r1382538173
##########
tests/python/contrib/test_tedd.py:
##########
@@ -97,39 +103,41 @@ def verify():
def test_schedule_tree():
+ """Tests schedule tree"""
block_x = te.thread_axis("blockIdx.x")
thread_x = te.thread_axis("threadIdx.x")
n = te.var("n")
m = te.var("m")
- l = te.var("l")
- A = te.placeholder((n, m, l), name="A")
- B = te.compute((n, m, l), lambda bi, bj, bk: A[bi, bj, bk] + 1, name="B")
- r = te.reduce_axis((0, m), "r")
- C = te.compute(
+ op_l = te.var("op_l")
Review Comment:
@Hzfengsy Well, those concise names would trigger C0103(invalid-name). Like
the var "l", the info is `Variable name "l" doesn't conform to
'[a-z_][a-z0-9_]{2,30}$' pattern`. Is it better to use `pylint:
disable=invalid-name` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]