Closed zarzen closed 4 years ago
Please submit a PR to fix it. Thanks! @zarzen
I think A[(i*q+j)//m, (i*q+j)%m]
is correct since elements are taken from A
whose shape is (n, m)
. The index in the square bracket should be relative to A
.
@Ca0L Yes, you are right. Thanks for pointing it out. @zarzen Can you double check and send another PR to revert the change if you agree with @Ca0L ? Sorry for the confusion.
sorry for the confusion, I am wrong. @Ca0L Thanks for correcting!
https://github.com/d2l-ai/d2l-tvm/blob/master/chapter_expressions/index_shape_expressions.md
m
should bep