From 8d75c9e4c4ed81f8aae6797757eaafd825f05545 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Tue, 27 Oct 2020 08:57:17 -0700 Subject: [PATCH] we have matmul too --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 97935f68..14791c95 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ from tinygrad.tensor import Tensor x = Tensor.eye(3) y = Tensor([[2.0,0,-2.0]]) -z = y.dot(x).sum() +z = y.matmul(x).sum() z.backward() print(x.grad) # dz/dx