leeexyz opened a new pull request #8416: URL: https://github.com/apache/tvm/pull/8416
Hi there, The **topi.prod** is failed to invoked the operator **topi.reducton.prod** or **topi.cpp.prod**. Actually. it invoked the function **topi.utils.prod**, see the addresses as below. ``` >>> topi.reduction.prod <function prod at 0x7f4e78d195f0> >>> topi.cpp.prod <tvm.runtime.packed_func.PackedFunc object at 0x7f4e78cf7410> >>> topi.prod <function prod at 0x7f4e78c69440> >>> topi.utils.prod <function prod at 0x7f4e78c69440> ``` After investigating, I found `from utils import prod` in `topi/scan.py` overrides the operator. This PR fixes this issue. :) -- 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]
