[Apache TVM Discuss] [Questions] Why relay.floor_mod allows float64?

2022-02-13 Thread Haoyang Ma via Apache TVM Discuss
Thanks for your kind reply. I think I got the reason. --- [Visit Topic](https://discuss.tvm.apache.org/t/why-relay-floor-mod-allows-float64/12073/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.t

[Apache TVM Discuss] [Questions] Why relay.floor_mod allows float64?

2022-02-13 Thread wrongtest via Apache TVM Discuss
Hi, as a context, we can see other dl-frameworks also allow that like https://www.tensorflow.org/api_docs/python/tf/math/floormod. For TVM, below is where float `floormod` is lowered to normal arithmetics as `a - floor(a/b) * b` https://github.com/apache/tvm/blob/7396be5645fa59cb10ae8ee14b718