提交 6d4bce19 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #4408 from Faruk-Ahmed/flake8_signal

flake8 tests pass; minor rephrasing of documentation
......@@ -30,18 +30,18 @@ def conv2d(input, filters, image_shape=None, filter_shape=None,
Parameters
----------
input : dmatrix of dtensor3
Symbolic variable for images to be filtered.
filters : dmatrix of dtensor3
Symbolic variable containing filter values.
input : Symbolic theano tensor for images to be filtered.
Dimensions: ([num_images], image height, image width)
filters : Symbolic theano tensor for convolution filter(s).
Dimensions: ([num_filters], filter height, filter width)
border_mode: {'valid', 'full'}
See scipy.signal.convolve2d.
subsample
Factor by which to subsample output.
image_shape : tuple of length 2 or 3
([number images,] image height, image width).
([num_images,] image height, image width).
filter_shape : tuple of length 2 or 3
([number filters,] filter height, filter width).
([num_filters,] filter height, filter width).
kwargs
See theano.tensor.nnet.conv.conv2d.
......
......@@ -69,9 +69,6 @@ whitelist_flake8 = [
"tensor/tests/test_blas_c.py",
"tensor/tests/test_blas_scipy.py",
"tensor/tests/test_mpi.py",
"tensor/signal/conv.py",
"tensor/signal/tests/test_conv.py",
"tensor/signal/tests/test_downsample.py",
"tensor/nnet/__init__.py",
"tensor/nnet/tests/__init__.py",
"tensor/nnet/tests/test_conv.py",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论