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

Method unsqueeze

flowdock/utils/frame_utils.py:19–21  ·  view source on GitHub ↗

Unsqueeze Rigid Transform.

(self, dim)

Source from the content-addressed store, hash-verified

17 return RigidTransform(self.t[key], self.R[key])
18
19 def unsqueeze(self, dim):
20 """Unsqueeze Rigid Transform."""
21 return RigidTransform(self.t.unsqueeze(dim), self.R.unsqueeze(dim))
22
23 def squeeze(self, dim):
24 """Squeeze Rigid Transform."""

Callers 15

prepare_batchFunction · 0.80
cartesian_to_internalFunction · 0.80
compute_num_ca_neighborsFunction · 0.80
compute_fape_from_atom37Function · 0.80
compute_TMscore_lboundFunction · 0.80
messageMethod · 0.80
forwardMethod · 0.80
compute_attentionMethod · 0.80
forwardMethod · 0.80
init_scalar_vec_repMethod · 0.80
compute_chain_peMethod · 0.80
compute_chain_pair_peMethod · 0.80

Calls 1

RigidTransformClass · 0.85

Tested by

no test coverage detected