code: def test_input_tensor_invalid_dims(datadir):
      model = onnx.load(datadir.file("keras_linear_131.onnx"))
      model.graph.input[0].type.tensor_type.shape.dim[1].dim_value = 0
      parser = NetworkParser()
      with pytest.raises(ValueError) as excinfo:
          parser.parse_network(model.graph, None, None)
      expected_msg = (
          'All dimensions in graph "tf2onnx" input tensor have 0 value.'
      )
      assert str(excinfo.value) == expected_msg
  
file_path: OMLT/tests/io/test_onnx_parser.py
imports: import pytest
  from omlt.dependencies import onnx, onnx_available
label_desc: Use image node_id 8 for calling a global function with example usage: test_input_tensor_invalid_dims(datadir) without return types