Skip to content

Commit

Permalink
Make mypy happy`
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmcaus committed Oct 13, 2021
1 parent 5593929 commit ae9b010
Show file tree
Hide file tree
Showing 19 changed files with 507 additions and 485 deletions.
2 changes: 1 addition & 1 deletion caer/color/_hsv.py
Expand Up @@ -27,7 +27,7 @@
]


def _is_hsv_image(tens:Tensor)->bool:
def _is_hsv_image(tens: Tensor)->bool:
# tens = to_tensor(tens)
# return tens.is_hsv()
return len(tens.shape) == 3 and tens.shape[-1] == 3
Expand Down

0 comments on commit ae9b010

Please sign in to comment.