wrongtest opened a new pull request, #11032:
URL: https://github.com/apache/tvm/pull/11032
The buggy script as below:
```python
import tvm
from tvm import relay
from tvm.contrib import graph_executor
x = relay.var("x", shape=[1, 3, 224, 224], dtype="float32")
y = relay.nn.lrn(x)
mod = tvm.IRModule.from_expr(relay.Function([x], y))
lib = relay.build(mod, target="llvm")
f = graph_executor.GraphModule(lib["default"](tvm.cpu()))
f.run()
```
The error I get is
```
Check failed: ret == 0 (-1 vs. 0) : Assert fail:
(((tir.tvm_struct_get(arg.T_divide, 0, 5) == (uint8)2) &&
(tir.tvm_struct_get(arg.T_divide, 0, 6) == (uint8)32)) &&
(tir.tvm_struct_get(arg.T_divide, 0, 7) == (uint16)1)), arg.T_divide.dtype is
expected to be float32
```
--
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]