code: def test_parse_graph_error(self) -> None:
      input = """
             agraph (float[N, 128] X, float[128,10] W, float[10] B) => (float[N] C)
             {
                T = MatMul[X, W]
                S = Add(T, B)
                C = Softmax(S)
             }
             """
      self.assertRaises(
          onnx.parser.ParseError, lambda: onnx.parser.parse_graph(input)
      )
  
file_path: onnx/onnx/test/parser_test.py
imports: import unittest
  from parameterized import parameterized
  import onnx
  from onnx import GraphProto, OperatorSetIdProto, checker
label_desc: Use image node_id 4 for calling the TestBasicFunctions obj's underlying member method code with example usage: obj.test_parse_graph_error() without return types