Browse Source

!352 modify GetNext op example

Merge pull request !352 from wanghua/master
tags/v0.2.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
aa250749cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ops/operations/nn_ops.py

+ 1
- 1
mindspore/ops/operations/nn_ops.py View File

@@ -1949,7 +1949,7 @@ class GetNext(PrimitiveWithInfer):
and the type is described is `types`.

Examples:
>>> get_next = P.GetNext([mindspore.float32, mindspore.int32], [[32, 1, 28, 28], [10]], 'shared_name')
>>> get_next = P.GetNext([mindspore.float32, mindspore.int32], [[32, 1, 28, 28], [10]], 2, 'shared_name')
>>> feature, label = get_next()
"""



Loading…
Cancel
Save