code: def test_image_input_analyser_shape_is_list_of_int():
      analyser = input_analysers.ImageAnalyser()
      dataset = tf.data.Dataset.from_tensor_slices(
          np.random.rand(100, 32, 32, 3)
      ).batch(32)
  
      for data in dataset:
          analyser.update(data)
      analyser.finalize()
  
      assert isinstance(analyser.shape, list)
      assert all(map(lambda x: isinstance(x, int), analyser.shape))
  
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 5 for calling a global function with example usage: test_image_input_analyser_shape_is_list_of_int() without return types