Prior to this PR, the `call_te` of BlockBuilder is not capable of converting 
PrimValue arguments and directly rejects PrimValues instead. This PR fixes this 
behavior with PrimValue conversion support and one regression test.

Co-authored-by: Siyuan Feng <hzfen...@sjtu.edu.cn>
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/tvm/pull/14028

-- Commit Summary --

  * [FIX][TOPI] Clip with IntImm/FloatImm
  * [BlockBuilder] CallTE convert PrimValue args

-- File Changes --

    M python/tvm/relax/block_builder.py (4)
    M python/tvm/topi/math.py (18)
    M tests/python/relax/test_blockbuilder.py (24)
    M tests/python/topi/python/test_topi_clip.py (10)

-- Patch Links --

https://github.com/apache/tvm/pull/14028.patch
https://github.com/apache/tvm/pull/14028.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm/pull/14028
You are receiving this because you are subscribed to this thread.

Message ID: <apache/tvm/pull/14...@github.com>

Reply via email to