MCPcopy Create free account
hub / github.com/Inception3D/TTT3R / forward

Method forward

src/dust3r/utils/camera.py:74–82  ·  view source on GitHub ↗
(self, camera)

Source from the content-addressed store, hash-verified

72 )
73
74 def forward(self, camera):
75 pose_enc = camera_to_pose_encoding(
76 camera,
77 pose_encoding_type=self.pose_encoding_type,
78 ).to(camera.dtype)
79 pose_enc = postprocess_pose(pose_enc, self.pose_mode, inverse=True)
80 pose_feat = self.embed_pose(pose_enc)
81 pose_feat = self.pose_encoder(pose_feat)
82 return pose_feat
83
84
85class HarmonicEmbedding(torch.nn.Module):

Callers

nothing calls this directly

Calls 2

postprocess_poseFunction · 0.90
camera_to_pose_encodingFunction · 0.85

Tested by

no test coverage detected