code: def test_reg_with_specified_output_dim_and_single_column_doesnt_crash():
      analyser = output_analysers.RegressionAnalyser(
          name="a", output_dim=1
      )
      dataset = tf.data.Dataset.from_tensor_slices(
          np.random.rand(10)
      ).batch(32)
  
      for data in dataset:
          analyser.update(data)
      analyser.finalize()
  
file_path: autokeras/autokeras/analysers/output_analysers_test.py
imports: import numpy
  import pytest
  import tensorflow
  from autokeras import test_utils
  from autokeras.analysers import output_analysers
label_desc: Use image node_id 11 for calling a global function with example usage: test_reg_with_specified_output_dim_and_single_column_doesnt_crash() without return types