!8528 fix Conv2dBnAct example typo error

From: @yuchaojie
Reviewed-by: @chenfei52,@kisnwang
Signed-off-by: @kisnwang
This commit is contained in:
mindspore-ci-bot 2020-11-16 10:19:29 +08:00 committed by Gitee
commit b66ec48842
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Conv2dBnAct(Cell):
Tensor of shape :math:`(N, C_{out}, H_{out}, W_{out})`.
Examples:
>>> net = nn.Conv2dBnAct(120, 240, 4, has_bn=True, activation='ReLU')
>>> net = nn.Conv2dBnAct(120, 240, 4, has_bn=True, activation='relu')
>>> input = Tensor(np.ones([1, 120, 1024, 640]), mindspore.float32)
>>> result = net(input)
>>> result.shape