class_docstr: Test public coremltools API visibilities.
code: def test_optimize(self):
      expected = [
          "coreml",
          "torch",
      ]
      _check_visible_modules(_get_visible_items(ct.optimize), expected)
  
imports: import coremltools
label_desc: Use image node_id 10 for calling the TestApiVisibilities obj's underlying member method code with example usage: obj.test_optimize() without return types