提交 f6406742 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Merge pull request #3893 from abergeron/fix_buildbot

Remove more warnings from the buildbot
......@@ -244,7 +244,7 @@ def conv3d(signals, filters,
out_4d = tensor.nnet.conv2d(
signals.reshape(_signals_shape_4d),
filters.reshape(_filters_shape_4d),
image_shape=conv2d_signal_shape,
input_shape=conv2d_signal_shape,
filter_shape=conv2d_filter_shape,
border_mode=border_mode[1]) # ignoring border_mode[2]
......
......@@ -89,7 +89,7 @@ class TestCorr2D(utt.InferShapeTester):
elif border_mode == 'valid':
padHW = numpy.array([0, 0])
elif border_mode == 'half':
padHW = numpy.floor(fil_shape2d / 2)
padHW = numpy.floor(fil_shape2d / 2).astype('int32')
elif isinstance(border_mode, tuple):
padHW = numpy.array(border_mode)
elif isinstance(border_mode, int):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论