class_docstr: Test APIs visible to users
class_docstr_tok: ["Test","APIs","visible","to","users"]
code: def test_base_model_optimizer_module(self):
      # coremltools.optimize.torch.base_model_optimizer.*
      expected = ["BaseModelOptimizer"]
      visible_modules = _get_visible_items(
          coremltools.optimize.torch.base_model_optimizer
      )
      _check_visible_modules(visible_modules, expected)
  
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 2 for calling the TestApiVisibilities obj's underlying member method code with example usage: obj.test_base_model_optimizer_module() without return types