code: def collect_testcases(op_type: str) -> List[TestCase]:
      """Collect node test cases"""
      # only keep those tests related to this operator
      global _TargetOpType  # noqa: PLW0603
      _TargetOpType = op_type
  
      import_recursive(sys.modules[__name__])
      return _NodeTestCases
  
file_path: onnx/onnx/backend/test/case/node/__init__.py
imports: import subprocess
  import sys
  from copy import deepcopy
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
  import numpy
  import onnx
  from onnx.backend.test.case.test_case import TestCase
  from onnx.backend.test.case.utils import import_recursive
  from onnx.onnx_pb import AttributeProto, FunctionProto, GraphProto, ModelProto, NodeProto, TensorProto, TypeProto
label_desc: Use image node_id 7 for calling a global function with example usage: collect_testcases(op_type) and returns: _NodeTestCases