Remove tensor prefix
This commit is contained in:
parent
45168730e8
commit
4fb2a16c4c
|
@ -53,7 +53,7 @@ def single_pass():
|
||||||
# Small test to see if autograd works.
|
# Small test to see if autograd works.
|
||||||
def test():
|
def test():
|
||||||
# Input tensors.
|
# 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.
|
# Forward pass.
|
||||||
q = x.add(y)
|
q = x.add(y)
|
||||||
|
|
Loading…
Reference in a new issue