code: def calc_fc_size(img_height, img_width):
      '''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.
      '''
      height, width = img_height, img_width
      for _ in range(5):
          height, width = _get_conv_outsize(
              (height, width),
              4, 2, 1)
  
      conv_out_layers = 512
      return conv_out_layers, height, widtf calc_fc_size(img_height, img_width):
      '''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.
      '''
      height, width = img_height, img_width
      for _ in range(5):
          height, width = _get_conv_outsize(
              (height, width),
              4, 2, 1)
  
      conv_out_layers = 512
      return conv_out_layers, height, width
docs: 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.