def get_target_dimensions(self):
        if self.target_height is None:
            self._calculate_target_dimensions()
        return int(self.target_width), int(self.target_height)
Returns the target dimensions and calculates them if necessary.
dataset/ETHPy150Open thumbor/thumbor/thumbor/transformer.py/Transformer.get_target_dimensions