parameters: (path)
return_statement: return supported, nodelists, parser
docstring: Invokes the ONNX parser's `supports_model` on the specified model.
  
      Args:
          path (str): The path to the ONNX model.
  
      Returns:
          Tuple[bool, SubgraphCollection, parser]:
                  (1) Whether the model is supported.
                  (2) A List[Tuple[List[int], bool]] mapping groups of node indices to a boolean
                      indicating whether they are supported.
                  (3) The TensorRT ONNX parser instance.
docstring_summary: Invokes the ONNX parser's `supports_model` on the specified model.
docstring_tokens: Invokes the ONNX parser s supports_model on the specified model .
function: def supports_model(path):
      """
      Invokes the ONNX parser's `supports_model` on the specified model.
  
      Args:
          path (str): The path to the ONNX model.
  
      Returns:
          Tuple[bool, SubgraphCollection, parser]:
                  (1) Whether the model is supported.
                  (2) A List[Tuple[List[int], bool]] mapping groups of node indices to a boolean
                      indicating whether they are supported.
                  (3) The TensorRT ONNX parser instance.
      """
      _, network = trt_backend.create_network()
      parser = trt.OnnxParser(network, trt_backend.get_trt_logger())
  
      try:
          parser.supports_model
      except AttributeError:
          trt_util.fail_unavailable("supports_model in tensorrt.OnnxParser")
  
      supported, nodelists = parser.supports_model(common_backend.bytes_from_path(path), path)
      return supported, nodelists, parser
function_tokens: def supports_model ( path ) : _ , network = trt_backend . create_network ( ) parser = trt . OnnxParser ( network , trt_backend . get_trt_logger ( ) ) try : parser . supports_model except AttributeError : trt_util . fail_unavailable ( "supports_model in tensorrt.OnnxParser" ) supported , nodelists = parser . supports_model ( common_backend . bytes_from_path ( path ) , path ) return supported , nodelists , parser