code: def test_norm(rng=None):
      temp = rng.random((8, 8, 8)) * 10
      temp2 = normalize(temp)
      temp2 = unnormalize(temp2, -1, 1, 0, 10)
      np.testing.assert_almost_equal(temp, temp2, 1)
  
imports: import warnings
  import numpy
  from dipy.nn.utils import normalize, unnormalize, transform_img, recover_img
  from dipy.testing.decorators import set_random_number_generator
label_desc: Use image node_id 1 for calling a global function with example usage: test_norm(rng) without return types