Returns the number of rows and columns in a convolution/pooling output.
(input_height, input_width, filter_height,
filter_width, row_stride, col_stride, padding_type)
| 158 | |
| 159 | |
| 160 | def get2d_conv_output_size(input_height, input_width, filter_height, |
| 161 | filter_width, row_stride, col_stride, padding_type): |
| 162 | """Returns the number of rows and columns in a convolution/pooling output.""" |
| 163 | return get_conv_output_size((input_height, input_width), |
| 164 | (filter_height, filter_width), |
| 165 | (row_stride, col_stride), padding_type) |
| 166 | |
| 167 | |
| 168 | def conv2d_shape(op): |
no test coverage detected