MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get2d_conv_output_size

Function get2d_conv_output_size

tensorflow/python/framework/common_shapes.py:160–165  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

158
159
160def 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
168def conv2d_shape(op):

Callers 5

conv2d_shapeFunction · 0.85
separable_conv2d_shapeFunction · 0.85
avg_pool_shapeFunction · 0.85
max_pool_shapeFunction · 0.85

Calls 1

get_conv_output_sizeFunction · 0.85

Tested by

no test coverage detected