提交 1a523fdc authored 作者: amrithasuresh's avatar amrithasuresh

Updated numpy as np

上级 e5bedc0d
from __future__ import absolute_import, print_function, division
import numpy
import numpy as np
import pdb
import theano
......@@ -102,7 +102,7 @@ class PdbBreakpoint(Op):
if condition:
try:
monitored = [numpy.asarray(inp) for inp in inputs[1:]]
monitored = [np.asarray(inp) for inp in inputs[1:]]
except:
raise ValueError("Some of the inputs to the PdbBreakpoint op "
"'%s' could not be casted to NumPy arrays" %
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论