parameters: (layout: str, shape_len: int)
return_statement: return indices_mapping[shape_len][layout].find('H')
docstring: Gets index of the dimension corresponding to height.
      :param layout: string representing layout: NCHW or NHWC usually.
      :param shape_len: the shape length.
      :return: index of the 'H' character
docstring_summary: Gets index of the dimension corresponding to height.
      :param layout: string representing layout: NCHW or NHWC usually.
      :param shape_len: the shape length.
      :return: index of the 'H' character
docstring_tokens: Gets index of the dimension corresponding to height . : param layout : string representing layout : NCHW or NHWC usually . : param shape_len : the shape length . : return : index of the H character
function: def get_height_dim(layout: str, shape_len: int):
      """
      Gets index of the dimension corresponding to height.
      :param layout: string representing layout: NCHW or NHWC usually.
      :param shape_len: the shape length.
      :return: index of the 'H' character
      """
      assert layout in supported_layouts
      assert 4 <= shape_len <= 5
      return indices_mapping[shape_len][layout].find('H')
function_tokens: def get_height_dim ( layout : str , shape_len : int ) : assert layout in supported_layouts assert 4 <= shape_len <= 5 return indices_mapping [ shape_len ] [ layout ] . find ( 'H' )