From 8a2a1eb310560d5ce1d4ceba5dccf6cf530b3695 Mon Sep 17 00:00:00 2001 From: simson <526422051@qq.com> Date: Sat, 18 Apr 2020 15:31:50 +0800 Subject: [PATCH] fix the error in example of mindspore.model --- mindspore/train/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/train/model.py b/mindspore/train/model.py index 46e4f421f7d..a9f59207bbf 100755 --- a/mindspore/train/model.py +++ b/mindspore/train/model.py @@ -71,7 +71,7 @@ class Model: >>> self.bn = nn.BatchNorm2d(64) >>> self.relu = nn.ReLU() >>> self.flatten = nn.Flatten() - >>> self.fc = nn.Dense(64*222*222, 3) # padding=0 + >>> self.fc = nn.Dense(64*224*224, 12) # padding=0 >>> >>> def construct(self, x): >>> x = self.conv(x)