def calc_fc_size(img_height, img_width):
height, width = img_height, img_width<EOL>for _ in range(<NUM_LIT:5>):<EOL><INDENT>height, width = _get_conv_outsize(<EOL>(height, width),<EOL><NUM_LIT:4>, <NUM_LIT:2>, <NUM_LIT:1>)<EOL><DEDENT>conv_out_layers = <NUM_LIT><EOL>return conv_out_layers, height, width<EOL>
Calculates shape of data after encoding.

    Parameters
    ----------
    img_height : int
        Height of input image.
    img_width : int
        Width of input image.

    Returns
    -------
    encoded_shape : tuple(int)
        Gives back 3-tuple with new dims.