Skip to content

Commit

Permalink
Revert useless change
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Aug 24, 2023
1 parent b4af363 commit f404f6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions torchvision/transforms/v2/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,5 +425,4 @@ def _transform(self, inpt: Any, params: Dict[str, Any]) -> Any:
if is_label:
return output

out = datapoints.wrap(output, like=inpt)
return out
return datapoints.wrap(output, like=inpt)

0 comments on commit f404f6c

Please sign in to comment.