forked from huawei/mindspore2022
Remove Primitive from functional.__all__.
This commit is contained in:
parent
685a77c7c3
commit
e1dcc0a975
|
|
@ -185,3 +185,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…
Reference in New Issue