Arranges a batch of (image) tensors in a grid, with optional padding between images. Expects a 4d mini-batch tensor of shape (B x C x H x W).

vision_make_grid(
tensor,
scale = TRUE,
num_rows = 8,
)