code: def test_rescaling_correctness(self):
      layer = layers.Rescaling(scale=1.0 / 255, offset=0.5)
      x = np.random.random((3, 10, 10, 3)) * 255
      out = layer(x)
      self.assertAllClose(out, x / 255 + 0.5)
  
file_path: keras/keras/layers/preprocessing/rescaling_test.py
imports: import numpy
  import pytest
  from tensorflow import data
  from keras import backend
  from keras import layers
  from keras import testing
label_desc: Use image node_id 3 for calling the RescalingTest obj's underlying member method code with example usage: obj.test_rescaling_correctness() without return types