提交 b59c48b7 authored 作者: Benjamin Scellier's avatar Benjamin Scellier 提交者: Nicolas Ballas

file theano/gof/compiledir.py

上级 316f1044
......@@ -4,7 +4,7 @@ import logging
import os
import shutil
import numpy
import numpy as np
import theano
from six import string_types, iteritems
......@@ -42,7 +42,7 @@ def cleanup():
have_npy_abi_version = False
have_c_compiler = False
for obj in flatten(key):
if isinstance(obj, numpy.ndarray):
if isinstance(obj, np.ndarray):
# Reuse have_npy_abi_version to
# force the removing of key
have_npy_abi_version = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论