singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shicong (JIRA)" <>
Subject [jira] [Created] (SINGA-462) Python - Unit test - tensor.transpose failed
Date Wed, 19 Jun 2019 03:09:00 GMT
shicong created SINGA-462:

             Summary: Python - Unit test - tensor.transpose failed
                 Key: SINGA-462
             Project: Singa
          Issue Type: Bug
            Reporter: shicong

currently the python transpose result is tested by 

{quote}def test_transpose(self):


    self.assertAlmostEqual(np.sum(TA1 - A1), 0.,places=3)
    self.assertAlmostEqual(np.sum(TA2 - A2), 0.,places=3)
However sum of errors will not work for this test.


With the below assertion, the test will fail.

This also affects other unit test depending on transpose

This message was sent by Atlassian JIRA

View raw message