Remove Primitive from functional.__all__.

This commit is contained in:
liuxiao93 2020-09-24 11:11:42 +08:00
parent 704e367ada
commit 1ad876cec8
1 changed files with 1 additions and 0 deletions

View File

@ -186,3 +186,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')