apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.42k stars 3.4k forks source link

[Relax] Add missing white spaces in error messages #17067

Closed mshr-h closed 1 month ago

mshr-h commented 1 month ago

Without this fix,

TVMError: Check failed: (min->IsInstance<PrimValueNode>()) is false: The argument `min` of relax.clip is expected to be a PrimValue, but gotrelax.expr.Constant

With this fix,

TVMError: Check failed: (min->IsInstance<PrimValueNode>()) is false: The argument `min` of relax.clip is expected to be a PrimValue, but got relax.expr.Constant

cc: @yongwww @tqchen @lhutton1

mshr-h commented 1 month ago

@tvm-bot rerun