def _str_shape(self):
        if self.n_dims > 2:
            return ' x '.join(str(dim) for dim in self.shape)
        elif self.n_dims == 2:
            return '{}W x {}H'.format(self.width, self.height)
dataset/ETHPy150Open menpo/menpo/menpo/image/base.py/Image._str_shape/original