提交 2f7e7d92 authored 作者: Gijs van Tulder's avatar Gijs van Tulder

Tiny documentation fix: two or three elements.

上级 d286cadb
...@@ -51,11 +51,11 @@ def get_conv_output_shape(image_shape, kernel_shape, ...@@ -51,11 +51,11 @@ def get_conv_output_shape(image_shape, kernel_shape,
or numeric). If it is a string, it must be 'valid', 'half' or 'full'. or numeric). If it is a string, it must be 'valid', 'half' or 'full'.
If it is a tuple, its two (or three) elements respectively correspond If it is a tuple, its two (or three) elements respectively correspond
to the padding on height and width (and possibly depth) axis. to the padding on height and width (and possibly depth) axis.
subsample: tuple of int (symbolic or numeric). Its or three elements subsample: tuple of int (symbolic or numeric). Its two or three elements
espectively correspond to the subsampling on height and width (and espectively correspond to the subsampling on height and width (and
possibly depth) axis. possibly depth) axis.
filter_dilation: tuple of int (symbolic or numeric). Its two elements filter_dilation: tuple of int (symbolic or numeric). Its two or three
correspond respectively to the dilation on height and width axis. elements correspond respectively to the dilation on height and width axis.
Returns Returns
------- -------
...@@ -270,8 +270,9 @@ def get_conv_gradinputs_shape(kernel_shape, top_shape, ...@@ -270,8 +270,9 @@ def get_conv_gradinputs_shape(kernel_shape, top_shape,
subsample: tuple of int (symbolic or numeric). Its two or three elements subsample: tuple of int (symbolic or numeric). Its two or three elements
respectively correspond to the subsampling on height and width (and respectively correspond to the subsampling on height and width (and
possibly depth) axis. possibly depth) axis.
filter_dilation: tuple of int (symbolic or numeric). Its two elements filter_dilation: tuple of int (symbolic or numeric). Its two or three
correspond respectively to the dilation on height and width axis. elements correspond respectively to the dilation on height and
width axis.
Returns Returns
------- -------
...@@ -382,8 +383,9 @@ def check_conv_gradinputs_shape(image_shape, kernel_shape, output_shape, ...@@ -382,8 +383,9 @@ def check_conv_gradinputs_shape(image_shape, kernel_shape, output_shape,
subsample: tuple of int (symbolic or numeric). Its two or three elements subsample: tuple of int (symbolic or numeric). Its two or three elements
respectively correspond to the subsampling on height and width (and respectively correspond to the subsampling on height and width (and
possibly depth) axis. possibly depth) axis.
filter_dilation: tuple of int (symbolic or numeric). Its two elements filter_dilation: tuple of int (symbolic or numeric). Its two or three
correspond respectively to the dilation on height and width axis. elements correspond respectively to the dilation on height and
width axis.
Returns Returns
------- -------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论