quick update: this can be found in kornia:
https://kornia.readthedocs.io/en/latest/geometry.transform.html#kornia.geometry.transform.rotate 95
AND
https://kornia.readthedocs.io/en/latest/geometry.transform.html#kornia.geometry.transform.scale 27