Skip to content

Commit

Permalink
fit jit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lostkevin committed Jul 18, 2024
1 parent bf3cf8b commit a392bb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions easycv/models/classification/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def forward_backbone(self, img: torch.Tensor) -> List[torch.Tensor]:
x = self.backbone(img)
return x

@torch.jit.unused
def forward_onnx(self, img: torch.Tensor) -> Dict[str, torch.Tensor]:
"""
forward_onnx means generate prob from image only support one neck + one head
Expand Down

0 comments on commit a392bb0

Please sign in to comment.