提交 0d6dd6a7 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

Corrected a couple of flake8 errors in tensor/blas.py

上级 a9e8fd78
...@@ -276,7 +276,7 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in ...@@ -276,7 +276,7 @@ SOMEPATH/Canopy_64bit/User/lib/python2.7/site-packages/numpy/distutils/system_in
# Using "conda install mkl" will install both, as well as # Using "conda install mkl" will install both, as well as
# optimized versions of numpy and scipy. # optimized versions of numpy and scipy.
try: try:
import mkl #noqa import mkl # noqa
except ImportError as e: except ImportError as e:
_logger.info('Conda mkl is not available: %s', e) _logger.info('Conda mkl is not available: %s', e)
else: else:
...@@ -1592,7 +1592,7 @@ class GemmOptimizer(Optimizer): ...@@ -1592,7 +1592,7 @@ class GemmOptimizer(Optimizer):
time_canonicalize += time1 time_canonicalize += time1
time_factor_can += time2 time_factor_can += time2
time_factor_list += time3 time_factor_list += time3
except InconsistencyError as e: except InconsistencyError:
nb_inconsistency_make += 1 nb_inconsistency_make += 1
continue continue
if new_outputs: if new_outputs:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论