Browse Source

fix docs

pull/14141/head
huangmengxi 4 years ago
parent
commit
0f365cd017
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      mindspore/numpy/array_ops.py

+ 1
- 2
mindspore/numpy/array_ops.py View File

@@ -2064,8 +2064,7 @@ def select(condlist, choicelist, default=0):
ValueError: if ``len(condlist) != len(choicelist)``.

Examples:
>>> condlist = [[True, True, True, False, False],
[False, False, True, False, True]]
>>> condlist = [[True, True, True, False, False], [False, False, True, False, True]]
>>> choicelist = [[0, 1, 2, 3, 4], [0, 1, 4, 9, 16]]
>>> output = np.select(condlist, choicelist)
>>> print(output)


Loading…
Cancel
Save