Skip to content

Commit c9bd6c8

Browse files
committed
lint
1 parent f96dbea commit c9bd6c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

torchvision/transforms/v2/_utils.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,7 @@ def _find_labels_default_heuristic(inputs: Any) -> torch.Tensor:
139139
return inputs[candidate_key]
140140

141141

142-
def _parse_labels_getter(
143-
labels_getter: Union[str, Callable[[Any], Any], None]
144-
) -> Callable[[Any], Any]:
142+
def _parse_labels_getter(labels_getter: Union[str, Callable[[Any], Any], None]) -> Callable[[Any], Any]:
145143
if labels_getter == "default":
146144
return _find_labels_default_heuristic
147145
elif callable(labels_getter):

0 commit comments

Comments
 (0)