MCPcopy Create free account
hub / github.com/BioinfoMachineLearning/FlowDock / concatenate

Method concatenate

flowdock/utils/frame_utils.py:27–32  ·  view source on GitHub ↗

Concatenate Rigid Transform.

(self, other, dim=0)

Source from the content-addressed store, hash-verified

25 return RigidTransform(self.t.squeeze(dim), self.R.squeeze(dim))
26
27 def concatenate(self, other, dim=0):
28 """Concatenate Rigid Transform."""
29 return RigidTransform(
30 torch.cat([self.t, other.t], dim=dim),
31 torch.cat([self.R, other.R], dim=dim),
32 )
33
34
35def get_frame_matrix(

Callers 7

process_proteinFunction · 0.80
collate_idx_numpyFunction · 0.80
collate_numpy_samplesFunction · 0.80
compute_fape_from_atom37Function · 0.80

Calls 1

RigidTransformClass · 0.85

Tested by

no test coverage detected