From 138ccf51e96f6e00d6be3a077f910aad6646ca55 Mon Sep 17 00:00:00 2001 From: jinyaohui Date: Tue, 8 Dec 2020 11:34:27 +0800 Subject: [PATCH] delete useless code --- mindspore/nn/layer/container.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mindspore/nn/layer/container.py b/mindspore/nn/layer/container.py index 711f6522f85..1c7803de7bb 100644 --- a/mindspore/nn/layer/container.py +++ b/mindspore/nn/layer/container.py @@ -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