Primitive's VJP takes outputs as input (#475)
Co-authored-by: Angelos Katharopoulos <[email protected]>
This commit is contained in:
co-authored by
Angelos Katharopoulos
parent
d8fabaa12b
commit
a2bf7693dd
@@ -71,3 +71,5 @@ class MLXTestCase(unittest.TestCase):
|
||||
elif not isinstance(expected, mx.array):
|
||||
expected = mx.array(expected)
|
||||
self.assertTrue(mx.allclose(mx_res, expected, rtol=rtol, atol=atol))
|
||||
else:
|
||||
self.assertTrue(mx.allclose(mx_res, expected, rtol=rtol, atol=atol))
|
||||
|
||||
Reference in New Issue
Block a user