Skip to content

Commit

Permalink
Add pruno0,1 and stop into docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ducha-aiki authored Jan 26, 2024
1 parent 3d5e4d0 commit 5046dbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lightglue/lightglue.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,11 @@ def forward(self, data: dict) -> dict:
matching_scores0: [B x M]
matches1: [B x N]
matching_scores1: [B x N]
matches: List[[Si x 2]], scores: List[[Si]]
matches: List[[Si x 2]],
scores: List[[Si]]
stop: int,
prune0: [B x M],
prune1: [B x N]
"""
with torch.autocast(enabled=self.conf.mp, device_type="cuda"):
return self._forward(data)
Expand Down

0 comments on commit 5046dbe

Please sign in to comment.