From 318fc76c2f49586e7e2780e635c75ba947d59af0 Mon Sep 17 00:00:00 2001 From: mengfu188 <1242733702@qq.com> Date: Tue, 7 Jan 2020 19:34:45 +0800 Subject: [PATCH] Update GETTING_STARTED.md (#1938) --- def forward(x): # should return a tuple +++ def forward(self, x): # should return a tuple --- docs/GETTING_STARTED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GETTING_STARTED.md b/docs/GETTING_STARTED.md index 13a2876..e63882e 100644 --- a/docs/GETTING_STARTED.md +++ b/docs/GETTING_STARTED.md @@ -443,7 +443,7 @@ class MobileNet(nn.Module): def __init__(self, arg1, arg2): pass - def forward(x): # should return a tuple + def forward(self, x): # should return a tuple pass def init_weights(self, pretrained=None): -- GitLab