code: def test_consistent_namespaces():
      model_names = set(models_map.keys())
      exported_model_names = set(dir(vision_models))
      diffs = model_names.symmetric_difference(exported_model_names)
      for difference in diffs:
          assert difference in (
              "Model",
              "Layer",
          ) or difference.startswith("__")
  
file_path: lucid/tests/modelzoo/test_vision_models.py
imports: from __future__ import absolute_import, division, print_function
  import pytest
  import inspect
  import tensorflow
  from lucid.modelzoo.nets_factory import models_map, get_model
  from lucid.modelzoo import caffe_models, other_models, slim_models, vision_models
  from lucid.modelzoo.vision_base import Layer
label_desc: Use image node_id 2 for calling a global function with example usage: test_consistent_namespaces() without return types