From 630db7309ac446b4ca5b42a1da9ee85c38ac5ae4 Mon Sep 17 00:00:00 2001 From: Hanusz Leszek Date: Wed, 17 Aug 2022 09:57:10 +0200 Subject: [PATCH] Remove redundant .float() call --- 04_mnist_basics.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_mnist_basics.ipynb b/04_mnist_basics.ipynb index 675bb5b..98be6a3 100644 --- a/04_mnist_basics.ipynb +++ b/04_mnist_basics.ipynb @@ -1756,7 +1756,7 @@ } ], "source": [ - "F.l1_loss(a_3.float(),mean7), F.mse_loss(a_3,mean7).sqrt()" + "F.l1_loss(a_3,mean7), F.mse_loss(a_3,mean7).sqrt()" ] }, {