提交 665a858c authored 作者: Rithesh Kumar's avatar Rithesh Kumar

committing docfix

上级 338384ad
......@@ -627,7 +627,7 @@ for the other elements of the image, giving rise to the following relationship:
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, filter_shape=(c1, c2, k1, k2), border_mode=(0, 0),
subsample=(1, 1))
# input.shape[2] == output.shape[2] + (k1 - 1)
......@@ -667,7 +667,7 @@ Formally, the following relationship applies for zero padded convolutions:
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, filter_shape=(c1, c2, k1, k2), border_mode=(p1, p2),
subsample=(1, 1))
# input.shape[2] == output.shape[2] + (k1 - 1) - 2 * p1
......@@ -704,7 +704,7 @@ applies:
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, filter_shape=(c1, c2, k1, k2), border_mode='half',
subsample=(1, 1))
# input.shape[2] == output.shape[2]
......@@ -740,7 +740,7 @@ the transpose of a fully padded convolution is a non-padded convolution:
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, filter_shape=(c1, c2, k1, k2), border_mode='full',
subsample=(1, 1))
# input.shape[2] == output.shape[2] - (k1 - 1)
......@@ -799,7 +799,7 @@ of :math:`s`. In that case, the following relationship holds:
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, filter_shape=(c1, c2, k1, k2), border_mode=(0, 0),
subsample=(s1, s2))
# input.shape[2] == s1 * (output.shape[2] - 1) + k1
......@@ -832,7 +832,7 @@ combining :ref:`Relationship 8 <Relationship8>` and
o_prime1 = s1 * (output.shape[2] - 1) + k1 - 2 * p1
o_prime2 = s2 * (output.shape[3] - 1) + k2 - 2 * p2
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, input_shape=(b, c1, o_prime1, o_prime2),
filter_shape=(c1, c2, k1, k2), border_mode=(p1, p2),
subsample=(s1, s2))
......@@ -867,7 +867,7 @@ between the :math:`s` different cases that all lead to the same :math:`i'`:
o_prime1 = s1 * (output.shape[2] - 1) + a1 + k1 - 2 * p1
o_prime2 = s2 * (output.shape[3] - 1) + a2 + k2 - 2 * p2
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, input_shape=(b, c1, o_prime1, o_prime2),
filter_shape=(c1, c2, k1, k2), border_mode=(p1, p2),
subsample=(s1, s2))
......@@ -934,6 +934,6 @@ Quick reference
.. code-block:: python
input = theano.tensor.nnet.conv2d_grad_wrt_inputs(
input = theano.tensor.nnet.abstract_conv.conv2d_grad_wrt_inputs(
output, filters, input_shape=(9, 9), filter_shape=(c1, c2, 4, 4),
border_mode='valid', subsample=(2, 2))
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论