Browse Source

modify GetNext OP example

tags/v0.2.0-alpha
wanghua 5 years ago
parent
commit
c3e0ce68d5
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`. and the type is described is `types`.


Examples: 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() >>> feature, label = get_next()
""" """




Loading…
Cancel
Save