!6313 delete redundant codes

Merge pull request !6313 from yihuaijie/master
This commit is contained in:
mindspore-ci-bot 2020-09-16 14:31:47 +08:00 committed by Gitee
commit 811704a30a
2 changed files with 0 additions and 3 deletions

View File

@ -54,7 +54,6 @@ def build_op(build_type, json_str):
kernel_info = json.loads(json_str)
check_kernel_info(kernel_info)
# import module
op_name = kernel_info['op_info']['name']
try:

View File

@ -31,7 +31,6 @@ def _op_select_format(kernel_info):
op supported format
"""
try:
# import module
op_name = kernel_info['op_info']['name']
impl_path = build_in_impl_path
custom_flag = False
@ -78,7 +77,6 @@ def _check_supported(kernel_info):
bool: check result, true or false
"""
try:
# import module
op_name = kernel_info['op_info']['name']
impl_path = build_in_impl_path
custom_flag = False