Lunderberg commented on a change in pull request #8904:
URL: https://github.com/apache/tvm/pull/8904#discussion_r700556720



##########
File path: tests/python/topi/python/test_topi_loss.py
##########
@@ -56,15 +64,15 @@ def verify_nll_loss(
     tvm.testing.assert_allclose(out_topi, out_npy, rtol=1e-4, atol=1e-5)
 
 
[email protected]_targets
-def test_nll_loss(dev, target):
-    verify_nll_loss(dev, target, (10, 5))
-    verify_nll_loss(dev, target, (10, 5, 2, 2))
-    verify_nll_loss(dev, target, (10, 5), reduction="sum")
-    verify_nll_loss(dev, target, (10, 5), reduction="none")
-    verify_nll_loss(dev, target, (10, 5), ignore_index=3)
-    verify_nll_loss(dev, target, (10, 5), dtype="float64")
+# @tvm.testing.parametrize_targets
+# def test_nll_loss(dev, target):
+#     verify_nll_loss(dev, target, (10, 5))
+#     verify_nll_loss(dev, target, (10, 5, 2, 2))
+#     verify_nll_loss(dev, target, (10, 5), reduction="sum")
+#     verify_nll_loss(dev, target, (10, 5), reduction="none")
+#     verify_nll_loss(dev, target, (10, 5), ignore_index=3)
+#     verify_nll_loss(dev, target, (10, 5), dtype="float64")

Review comment:
       Whoops, those should have been removed entirely.  Thank you for the 
catch.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to