Unverified 提交 674b22e0 authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Fix test when mode=FAST_COMPILE

上级 afbf9f25
......@@ -1330,7 +1330,7 @@ class TestBilinearUpsampling(unittest.TestCase):
x = np.random.rand(1, 1, 200, 200).astype(theano.config.floatX)
resize = (24, 20)
z = bilinear_upsampling(tensor.as_tensor_variable(x), frac_ratio=resize, use_1D_kernel=False)
utt.assert_allclose(z.shape.eval(), (1, 1, 240, 240))
utt.assert_allclose(z.shape.eval(mode='FAST_RUN'), (1, 1, 240, 240))
class TestConv2dTranspose(unittest.TestCase):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论