Skip to content

Commit

Permalink
Unified crop node (chaiNNer-org#2134)
Browse files Browse the repository at this point in the history
- corrected order of arguments
- added test project
  • Loading branch information
adegerard authored Aug 23, 2023
1 parent fd78e19 commit f92e6f8
Show file tree
Hide file tree
Showing 4 changed files with 10,370 additions and 8,084 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ def crop_node(
img: np.ndarray,
mode: CropMode,
amount: int,
top: int,
left: int,
bottom: int,
top: int,
right: int,
height: int,
bottom: int,
width: int,
height: int,
) -> np.ndarray:
h, w, _ = get_h_w_c(img)

Expand Down
Loading

0 comments on commit f92e6f8

Please sign in to comment.