!14109 Fixes numpy.take fail in graph mode

From: @wangrao124
Reviewed-by: @c_34,@liangchenghui
Signed-off-by: @c_34
pull/14109/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit f1071fc9ff

@ -220,6 +220,7 @@ def _raise_runtime_error(info, param=None):
raise RuntimeError(info + f"{param}")
@constexpr
def _raise_unimplemented_error(info, param=None):
"""
Raise NotImplementedError in both graph/pynative mode

Loading…
Cancel
Save