Browse Source

!6822 Remove Primitive from functional.__all__.

Merge pull request !6822 from liuxiao93/fix-op-list
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
932dc3c2a3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindspore/ops/functional.py

+ 1
- 0
mindspore/ops/functional.py View File

@@ -186,3 +186,4 @@ tensor_operator_registry.register('shape', shape)
tensor_operator_registry.register('cast', cast)

__all__ = [name for name in dir() if name[0] != "_"]
__all__.remove('Primitive')

Loading…
Cancel
Save