Updated python to align with current configuration

This commit is contained in:
Alejandro Saucedo 2021-02-28 14:53:46 +00:00
parent 7dc1f35206
commit 38f356fdae
4 changed files with 50 additions and 19 deletions

View file

@ -30,5 +30,5 @@ def test_array_multiplication():
.record(kp.OpTensorSyncLocal([tensor_out]))
.eval())
assert tensor_out.data() == [2.0, 4.0, 6.0]
assert np.all(tensor_out.numpy() == [2.0, 4.0, 6.0])
assert tensor_out.data().tolist() == [2.0, 4.0, 6.0]
assert np.all(tensor_out.data() == [2.0, 4.0, 6.0])