Implemented the new elementwise functions.

This commit is contained in:
2023-09-15 19:22:43 +02:00
parent 79ed621ba2
commit 5ec1d9e73a
4 changed files with 85 additions and 28 deletions

View File

@@ -105,7 +105,7 @@ void tensor_test_sub_scalar(void)
tensor_add_inplace(t1, t2);
tensor_add_inplace(t1, t2);
tensor_sub_scalar(t3, 3.0);
tensor_sub_scalar(t1, 3.0);
tensor_assert_eq(t1, t3);