code: def test_rescaling_with_channels_first_and_vector_scale(self):
      config = backend.image_data_format()
      backend.set_image_data_format("channels_first")
      layer = layers.Rescaling(
          scale=[1.0 / 255, 1.5 / 255, 2.0 / 255], offset=0.5
      )
      x = np.random.random((2, 3, 10, 10)) * 255
      layer(x)
      backend.set_image_data_format(config)
  
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 5 for calling the RescalingTest obj's underlying member method code with example usage: obj.test_rescaling_with_channels_first_and_vector_scale() without return types