<human>:  how i check dimensions image.
<bot>: Here is a Python function to how I check dimensions images

import numpy as np

def check_image_dimensions(image):
  """
  Check image dimensions.
  """
  if len(image.shape)!= 3:
    raise ValueError("Image must be 3-dimensional.")

# Enter the image
image = np.random.rand(10, 10, 3)

# Calling the function
print((check_image_dimensions(image)))

#Example Output
# None

#Remember to inspect code for bugs.