Browse Source

!9632 delete useless code

From: @jinyaohui
Reviewed-by: @zh_qh,@kingxian
Signed-off-by: @kingxian
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
8848def671
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      mindspore/nn/layer/container.py

+ 0
- 2
mindspore/nn/layer/container.py View File

@@ -197,8 +197,6 @@ class CellList(_CellListBase, Cell):
>>> cell_ls = nn.CellList([bn])
>>> cell_ls.insert(0, conv)
>>> cell_ls.append(relu)
>>> x = Tensor(np.random.random((1, 3, 4, 4)), dtype=mindspore.float32)
>>> # not same as nn.SequentialCell, `cell_ls(x)` is not correct
>>> cell_ls
CellList<
(0): Conv2d<input_channels=100, ..., bias_init=None>


Loading…
Cancel
Save