This is an automated email from the ASF dual-hosted git repository.

tlopex pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 87f2915897 test(relax): cover TFLite LOG and GREATER_EQUAL in 
test_frontend_tflite (#19343)
87f2915897 is described below

commit 87f291589720d8a6eec7aae519511a6cb95af372
Author: Dayuxiaoshui <[email protected]>
AuthorDate: Sat Apr 4 14:15:18 2026 +0800

    test(relax): cover TFLite LOG and GREATER_EQUAL in test_frontend_tflite 
(#19343)
    
    - Extend test_element_wise with tf.math.log -> R.log.
    - Extend test_split_compare with tf.math.greater_equal ->
    R.greater_equal, matching the existing split-tensor compare pattern and
    bool Expected IR. https://github.com/apache/tvm/issues/18971
---
 tests/python/relax/test_frontend_tflite.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/python/relax/test_frontend_tflite.py 
b/tests/python/relax/test_frontend_tflite.py
index f1f91002c4..dd43c9030b 100644
--- a/tests/python/relax/test_frontend_tflite.py
+++ b/tests/python/relax/test_frontend_tflite.py
@@ -511,6 +511,7 @@ def test_square():
         (tf.math.cos, R.cos),
         (tf.math.sin, R.sin),
         (tf.math.exp, R.exp),
+        (tf.math.log, R.log),
         (tf.math.negative, R.negative),
         (tf.round, R.round),
         (tf.math.rsqrt, R.rsqrt),
@@ -542,6 +543,8 @@ def test_element_wise(tf_op, relax_op):
     [
         (tf.math.less, R.less),
         (tf.math.less_equal, R.less_equal),
+        (tf.math.greater, R.greater),
+        (tf.math.greater_equal, R.greater_equal),
         (tf.math.equal, R.equal),
         (tf.math.not_equal, R.not_equal),
     ],

Reply via email to