class_docstr: Test public coremltools API visibilities.
code: def test_optimize_coreml(self):
      expected = [
          "OpLinearQuantizerConfig",
          "OpMagnitudePrunerConfig",
          "OpPalettizerConfig",
          "OptimizationConfig",
          "OpThresholdPrunerConfig",
          "linear_quantize_weights",
          "palettize_weights",
          "prune_weights",
          "decompress_weights",
          "get_weights_metadata",
          "CoreMLWeightMetaData",
          "CoreMLOpMetaData",
      ]
      _check_visible_modules(
          _get_visible_items(ct.optimize.coreml), expected
      )
  
imports: import coremltools
label_desc: Use image node_id 11 for calling the TestApiVisibilities obj's underlying member method code with example usage: obj.test_optimize_coreml() without return types