code: def _get_visible_items(d):
      return [x for x in dir(d) if not x.startswith("_")]
  
file_path: coremltools/coremltools/test/optimize/torch/test_api_surface.py
imports: from typing import List
  import coremltools.optimize.torch
label_desc: Use image node_id 1 for calling a global function with example usage: _get_visible_items(d) and returns: unknown