code: def sp_matrices_to_sp_tensors(inputs):
      inputs = list(inputs)
      for i in range(len(inputs)):
          if sp.issparse(inputs[i]):
              inputs[i] = sp_matrix_to_sp_tensor(inputs[i])
      return tuple(inputs)
  
file_path: spektral/spektral/data/utils.py
imports: import numpy
  import tensorflow
  from scipy import sparse
  from spektral.utils import pad_jagged_array
  from spektral.utils.sparse import sp_matrix_to_sp_tensor
label_desc: Use image node_id 9 for calling a global function with example usage: sp_matrices_to_sp_tensors(inputs) and returns: tuple