提交 635cc638 authored 作者: amrithasuresh's avatar amrithasuresh

1.Removed import numpy as N

2.Updated numpy as np
上级 9bc60906
from __future__ import absolute_import, print_function, division from __future__ import absolute_import, print_function, division
from six.moves import xrange from six.moves import xrange
import numpy as N import numpy as np
import theano import theano
from theano.tensor import basic as T from theano.tensor import basic as T
...@@ -71,7 +71,7 @@ class ConvGrad3D(theano.Op): ...@@ -71,7 +71,7 @@ class ConvGrad3D(theano.Op):
assert V.shape[0] == batchSize assert V.shape[0] == batchSize
dr, dc, dt = d dr, dc, dt = d
dCdW = N.zeros(WShape, dtype=V.dtype) dCdW = np.zeros(WShape, dtype=V.dtype)
# print 'computing output of shape '+str(WShape) # print 'computing output of shape '+str(WShape)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论