forked from huawei/mindspore2022
!8528 fix Conv2dBnAct example typo error
From: @yuchaojie Reviewed-by: @chenfei52,@kisnwang Signed-off-by: @kisnwang
This commit is contained in:
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…
Reference in New Issue