Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 7, 2024
1 parent 292f410 commit 7e87160
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kornia/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def _to_uint8(image: Tensor) -> Tensor:


def load_image(
path_file: str | Path,
desired_type: ImageLoadType = ImageLoadType.RGB32,
device: Device = "cpu"
path_file: str | Path, desired_type: ImageLoadType = ImageLoadType.RGB32, device: Device = "cpu"
) -> Tensor:
"""Read an image file and decode using the Kornia Rust backend.
Expand Down

0 comments on commit 7e87160

Please sign in to comment.