code: def test_random_crop_partial(self):
      if backend.config.image_data_format() == "channels_last":
          input_shape = (12, 8, 16, 3)
          output_shape = (12, 8, 8, 3)
      else:
          input_shape = (12, 3, 8, 16)
          output_shape = (12, 3, 8, 8)
      self.run_layer_test(
          layers.RandomCrop,
          init_kwargs={
              "height": 8,
              "width": 8,
          },
          input_shape=input_shape,
          expected_output_shape=output_shape,
          supports_masking=False,
          run_training_check=False,
      )
  
file_path: keras/keras/layers/preprocessing/random_crop_test.py
imports: import numpy
  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 RandomCropTest obj's underlying member method code with example usage: obj.test_random_crop_partial() without return types