MCPcopy Create free account
hub / github.com/modelscope/modelscope / apply

Method apply

modelscope/models/science/unifold/modules/frame.py:279–284  ·  view source on GitHub ↗
(
        self,
        pts: torch.Tensor,
    )

Source from the content-addressed store, hash-verified

277 return Frame(new_rot, new_trans)
278
279 def apply(
280 self,
281 pts: torch.Tensor,
282 ) -> torch.Tensor:
283 rotated = self._r.apply(pts)
284 return rotated + self._t
285
286 def invert_apply(self, pts: torch.Tensor) -> torch.Tensor:
287 pts = pts - self._t

Callers 9

process_pointsMethod · 0.45
forwardMethod · 0.45
inference_modeMethod · 0.45
composeMethod · 0.45
invertMethod · 0.45
compose_update_vecMethod · 0.45
atom37_to_torsion_anglesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected