fix softmax for master

pull/10889/head
zhaojichen 4 years ago
parent 882a582eb4
commit 36a15fa5af

@ -15,6 +15,7 @@
"""tbe process"""
import sys
import os
from te.platform.cce_conf import te_set_version
from .common import get_args, get_build_in_impl_path, TBEException
build_in_impl_path = get_build_in_impl_path()
@ -32,6 +33,7 @@ def _op_select_format(kernel_info):
"""
try:
op_name = kernel_info['op_info']['name']
te_set_version(kernel_info["op_info"]["socVersion"])
impl_path = build_in_impl_path
custom_flag = False
if 'impl_path' in kernel_info and kernel_info['impl_path'] is not None:

Loading…
Cancel
Save