Skip to content

add vision_make_grid support multiple tensors - #398

Merged
cregouby merged 13 commits into
mainfrom
feat/vision_make_grid_extension
Sep 2, 2026
Merged

add vision_make_grid support multiple tensors#398
cregouby merged 13 commits into
mainfrom
feat/vision_make_grid_extension

Conversation

@cregouby

@cregouby cregouby commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator
  • add vision_make_grid support magick_images
  • allow mixed dtypes in vision_make_grid tensors, and thus remove all example with $to(dtype = torch_flot())$div(255) before vision_make_grid.
  • allow ...parameters so that multiple tensors can be passed and take care of the torch_stack(list(...)). Thus remove all example with unneeded torch_stack(list(...)))
  • add S3 dispatch to vision_make_grid
  • fix linter errors and warnings (full project)

fix #394

@cregouby
cregouby merged commit c2f2174 into main Sep 2, 2026
3 checks passed
@cregouby
cregouby deleted the feat/vision_make_grid_extension branch September 2, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

draw_*() output should not require casting to float and divide by 255 in order to feed vision_make_grid()

1 participant