Browse Source

!13828 Add notes for parameter 'flags' of cell.

From: @wang_shaocong
Reviewed-by: @gemini524,@c_34,@liangchenghui
Signed-off-by: @c_34
pull/13828/MERGE
mindspore-ci-bot Gitee 5 years ago
parent
commit
f2466e4b17
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      mindspore/nn/cell.py

+ 2
- 0
mindspore/nn/cell.py View File

@@ -55,6 +55,8 @@ class Cell(Cell_):

Args:
auto_prefix (bool): Recursively generate namespaces. Default: True.
flags (dict): Network configuration information, currently it is used for the binding of network and dataset.
Users can also customize network attributes by this parameter. Default: None.

Supported Platforms:
``Ascend`` ``GPU`` ``CPU``


Loading…
Cancel
Save