code: def test_scipy_matrix_to_values(
      incoming_data: FeatureArray, expected_shape: np.ndarray
  ):
      indices, data, shape = RasaDataGenerator._scipy_matrix_to_values(
          incoming_data
      )
  
      assert np.all(shape == expected_shape)
  
file_path: rasa/tests/utils/tensorflow/test_data_generator.py
imports: import pytest
  import scipy.sparse
  import numpy
  from rasa.utils.tensorflow.model_data import ragged_array_to_ndarray, FeatureArray, RasaModelData
  from rasa.utils.tensorflow.data_generator import RasaDataGenerator, RasaBatchDataGenerator
label_desc: Use image node_id 4 for calling a global function with example usage: test_scipy_matrix_to_values(incoming_data, expected_shape) without return types