提交 a965701d authored 作者: David Warde-Farley's avatar David Warde-Farley

Remove useless whitespace.

上级 818f43e2
......@@ -1665,7 +1665,7 @@ class Prepend_scalar_constant_to_each_row(gof.Op):
def infer_shape(self, node, in_shapes):
shp = (in_shapes[0][0], in_shapes[0][1] + 1)
return [shp]
def grad(self, inp, grads):
mat, = inp
......
......@@ -2398,7 +2398,7 @@ class test_assert(utt.InferShapeTester):
def setUp(self):
super(test_assert, self).setUp()
def test0(self):
x=T.scalar()
y=T.scalar()
......@@ -2471,7 +2471,7 @@ class test_assert(utt.InferShapeTester):
self._compile_and_check([admat, adscal, bdscal], [out],
[admat_val, adscal_val, bdscal_val], Assert)
def test_local_mul_specialize():
mode = theano.config.mode
if mode == 'FAST_COMPILE':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论