We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d417514 commit 0fe9c04Copy full SHA for 0fe9c04
2 files changed
tensor-array-repo/Tensor-Array
tests/test.py
@@ -2,7 +2,11 @@
2
import numpy as np
3
4
def test_add():
5
- example_tensor_array = ta.Tensor(np.array([[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]], dtype=np.int32))
+ example_tensor_array = ta.Tensor(np.array([
6
+ [1, 2, 3, 4],
7
+ [5, 6, 7, 8],
8
+ [9, 10, 11, 12],
9
+ [13, 14, 15, 16]], dtype=np.int32))
10
example_tensor_array_scalar = ta.Tensor(100)
11
example_tensor_sum = example_tensor_array + example_tensor_array_scalar
12
print(example_tensor_sum)
0 commit comments