Remove tensor prefix

This commit is contained in:
Aodhnait Étaín 2020-11-16 11:43:51 +00:00
parent 45168730e8
commit 4fb2a16c4c
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def single_pass():
# Small test to see if autograd works.
def test():
# Input tensors.
x, y, z = tensor.Tensor(np.array([[1, 2, 3]])), tensor.Tensor(np.array([[2, 3, 4]])), tensor.Tensor(np.array([[1], [2], [3]]))
x, y, z = Tensor(np.array([[1, 2, 3]])), Tensor(np.array([[2, 3, 4]])), Tensor(np.array([[1], [2], [3]]))
# Forward pass.
q = x.add(y)