(self, camera)
| 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 | |
| 85 | class HarmonicEmbedding(torch.nn.Module): |
nothing calls this directly
no test coverage detected