code: def test_image_input_with_three_dim():
      analyser = input_analysers.ImageAnalyser()
      dataset = tf.data.Dataset.from_tensor_slices(
          np.random.rand(100, 32, 32)
      ).batch(32)
  
      for data in dataset:
          analyser.update(data)
      analyser.finalize()
  
      assert len(analyser.shape) == 3
  
file_path: autokeras/autokeras/analysers/input_analysers_test.py
imports: import copy
  import numpy
  import pandas
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.analysers import input_analysers
label_desc: Use image node_id 6 for calling a global function with example usage: test_image_input_with_three_dim() without return types