@staticmethod
def parse_shape(shape):
    """Split shape into height, width and frames.

        Args:
            shape(tuple): Shape of dataset

        Returns:
            frames, height, width

        """
    height, width = shape[-2:]
    frames = shape[:-2]
    return frames, height, width
