Browse Source

Remove Primitive from functional.__all__.

tags/v1.1.0
liuxiao93 5 years ago
parent
commit
1ad876cec8
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