code: def display_attr_type(v: OpSchema.AttrType) -> str:
      assert isinstance(v, OpSchema.AttrType)
      s = str(v)
      s = s[s.rfind(".") + 1 :].lower()
      if s[-1] == "s":
          s = "list of " + s
      return s
  
imports: import os
  from collections import defaultdict
  from typing import Any, Dict, List, NamedTuple, Sequence, Set, Tuple
  import numpy
  from onnx import defs, helper
  from onnx.backend.sample.ops import collect_sample_implementations
  from onnx.backend.test.case import collect_snippets
  from onnx.defs import ONNX_ML_DOMAIN, OpSchema
label_desc: Use image node_id 6 for calling a global function with example usage: display_attr_type(v) and returns: s