Skip to content

Commit 0466e6f

Browse files
authored
fix googlenet out shape
1 parent 07e9576 commit 0466e6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/paddle/vision/models/GoogLeNet_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ GoogLeNet模型,Layer的实例。
2727
model = GoogLeNet()
2828
2929
x = paddle.rand([1, 3, 224, 224])
30-
out = model(x)
30+
out, out1, out2 = model(x)
3131
3232
print(out.shape)

docs/api/paddle/vision/models/googlenet_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ GoogLeNet模型,Layer的实例。
2929
# model = googlenet(pretrained=True)
3030
3131
x = paddle.rand([1, 3, 224, 224])
32-
out = model(x)
32+
out, out1, out2 = model(x)
3333
3434
print(out.shape)

0 commit comments

Comments
 (0)