Skip to content

Add neg operator#28

Merged
voltjia merged 2 commits into
InfiniTensor:masterfrom
stever178:develop-neg
May 30, 2025
Merged

Add neg operator#28
voltjia merged 2 commits into
InfiniTensor:masterfrom
stever178:develop-neg

Conversation

@stever178
Copy link
Copy Markdown
Contributor

@stever178 stever178 commented May 17, 2025

pytest output:

=============================== test session starts ================================
platform linux -- Python 3.12.5, pytest-8.3.5, pluggy-1.5.0
rootdir: /home/lsj/projects/ntops
configfile: pyproject.toml
plugins: cov-6.1.1
collected 102 items

tests/test_abs.py ........                                                   [  7%]
tests/test_add.py ........                                                   [ 15%]
tests/test_addmm.py ..                                                       [ 17%]
tests/test_bmm.py ..                                                         [ 19%]
tests/test_cos.py ........                                                   [ 27%]
tests/test_div.py ........                                                   [ 35%]
tests/test_exp.py ........                                                   [ 43%]
tests/test_gelu.py ........                                                  [ 50%]
tests/test_mm.py ..                                                          [ 52%]
tests/test_mul.py ........                                                   [ 60%]
tests/test_neg.py ........                                                   [ 68%]
tests/test_relu.py ........                                                  [ 76%]
tests/test_rsqrt.py ........                                                 [ 84%]
tests/test_sigmoid.py ........                                               [ 92%]
tests/test_sin.py ........                                                   [100%]

========================== 102 passed in 98.57s (0:01:38) ==========================

@stever178 stever178 marked this pull request as ready for review May 17, 2025 01:38
@voltjia
Copy link
Copy Markdown
Collaborator

voltjia commented May 30, 2025

pytest output:

============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.3.3, pluggy-1.5.0
rootdir: /home/huangjiacheng/ntops
configfile: pyproject.toml
plugins: cov-6.0.0
collected 174 items

tests/test_abs.py ........                                               [  4%]
tests/test_add.py ........                                               [  9%]
tests/test_addmm.py ..                                                   [ 10%]
tests/test_bmm.py ..                                                     [ 11%]
tests/test_cos.py ........                                               [ 16%]
tests/test_div.py ........                                               [ 20%]
tests/test_eq.py ........                                                [ 25%]
tests/test_exp.py ........                                               [ 29%]
tests/test_ge.py ........                                                [ 34%]
tests/test_gelu.py ........                                              [ 39%]
tests/test_gt.py ........                                                [ 43%]
tests/test_isinf.py ........                                             [ 48%]
tests/test_isnan.py ........                                             [ 52%]
tests/test_le.py ........                                                [ 57%]
tests/test_lt.py ........                                                [ 62%]
tests/test_mm.py ..                                                      [ 63%]
tests/test_mul.py ........                                               [ 67%]
tests/test_ne.py ........                                                [ 72%]
tests/test_neg.py ........                                               [ 77%]
tests/test_relu.py ........                                              [ 81%]
tests/test_rsqrt.py ........                                             [ 86%]
tests/test_sigmoid.py ........                                           [ 90%]
tests/test_sin.py ........                                               [ 95%]
tests/test_tanh.py ........                                              [100%]

======================= 174 passed in 503.78s (0:08:23) ========================

@voltjia voltjia merged commit c244ca1 into InfiniTensor:master May 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants