code: def test_make_grid_not_inplace():
      t = torch.rand(5, 3, 10, 10)
      t_clone = t.clone()
  
      utils.make_grid(t, normalize=False)
      assert_equal(t, t_clone, msg="make_grid modified tensor in-place")
  
      utils.make_grid(t, normalize=True, scale_each=False)
      assert_equal(t, t_clone, msg="make_grid modified tensor in-place")
  
      utils.make_grid(t, normalize=True, scale_each=True)
      assert_equal(t, t_clone, msg="make_grid modified tensor in-place")
  
imports: import os
  import re
  import sys
  import tempfile
  from io import BytesIO
  import numpy
  import pytest
  import torch
  import torchvision.transforms.functional
  import torchvision.utils
  from common_utils import assert_equal, cpu_and_cuda
  from PIL import __version__, Image, ImageColor
  from torchvision.transforms.v2.functional import to_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: test_make_grid_not_inplace() without return types