From e3aae2359e567b1dec873d7cb2357258184298ee Mon Sep 17 00:00:00 2001 From: SOVIETIC-BOSS88 Date: Wed, 3 Jun 2020 22:06:17 +0200 Subject: [PATCH] Update 17_foundations.ipynb --- 17_foundations.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/17_foundations.ipynb b/17_foundations.ipynb index cb626de..ab98581 100644 --- a/17_foundations.ipynb +++ b/17_foundations.ipynb @@ -1137,7 +1137,7 @@ "torch.einsum('bi,ij,bj->b', a, b, c)\n", "```\n", "\n", - "will return a vector of size `b` where the `k`-th coordinate is the sum of `a[k,i] b[i,j] c[k,j]`. This notation is particularly convenient when you have more dimensions because of batches. For example, if you have two batches of matrices and want compute the matrix product per batch, you would could this: \n", + "will return a vector of size `b` where the `k`-th coordinate is the sum of `a[k,i] b[i,j] c[k,j]`. This notation is particularly convenient when you have more dimensions because of batches. For example, if you have two batches of matrices and want to compute the matrix product per batch, you would could this: \n", "\n", "```python\n", "torch.einsum('bik,bkj->bij', a, b)\n",