src/transformers/models/esm/modeling_esmfold.py/EsmFoldStructureModule/torsion_angles_to_frames
class EsmFoldStructureModule:    def torsion_angles_to_frames(self, r, alpha, f):
        # Lazily initialize the residue constants on the correct device
        self._init_residue_constants(alpha.dtype, alpha.device)
        # Separated purely to make testing less annoying
        return torsion_angles_to_frames(r, alpha, f, self.default_frames)