!8528 fix Conv2dBnAct example typo error

From: @yuchaojie
Reviewed-by: @chenfei52,@kisnwang
Signed-off-by: @kisnwang
pull/8528/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit b66ec48842

@ -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

Loading…
Cancel
Save