code: def test_fit_empty_array_shape(zero_dims):
      """
      Make sure shapes are correct.
      """
      data = get_data(zero_dims)
      fit = get_fit(data)
      for parameter, dim in dims.items():
          shape = tuple(map(data.get, dim)) + (
              num_samples * num_chains,
          )
          assert fit[parameter].shape == shape
  
imports: import pytest
  import stan
label_desc: Use image node_id 4 for calling a global function with example usage: test_fit_empty_array_shape(zero_dims) without return types