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