!6791 Fix that 'Primitive' appears twice in api.

Merge pull request !6791 from liuxiao93/fix-op-list-r1.0
pull/6791/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 6bf72bf770

@ -185,3 +185,4 @@ tensor_operator_registry.register('shape', shape)
tensor_operator_registry.register('cast', cast) tensor_operator_registry.register('cast', cast)
__all__ = [name for name in dir() if name[0] != "_"] __all__ = [name for name in dir() if name[0] != "_"]
__all__.remove('Primitive')

Loading…
Cancel
Save