Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion torchvision/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def make_grid(tensor, nrow=8, padding=2,
"""
Given a 4D mini-batch Tensor of shape (B x C x H x W),
or a list of images all of the same size,
makes a grid of images
makes a grid of images of size (B / nrow, nrow).

normalize=True will shift the image to the range (0, 1),
by subtracting the minimum and dividing by the maximum pixel value.
Expand Down