lileidev commented on issue #11684:
URL: https://github.com/apache/tvm/issues/11684#issuecomment-1153132360
didn't reproduce any error on my linux platform.
env:
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tvm
>>> print(tvm.__version__
test code:
from tvm import relay, IRModule
x = relay.var('x', shape=(4, ))
y = relay.nn.softmax(x, axis=1)
mod = IRModule.from_expr(y)
mod = relay.transform.InferType()(mod)
print(mod)
output:
def @main(%x: Tensor[(4), float32] /* ty=Tensor[(4), float32] */) ->
Tensor[(4), float32] {
nn.softmax(%x, axis=1) /* ty=Tensor[(4), 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]