code: def test_model_properties(name, model_class):
      assert hasattr(model_class, "model_path")
      assert model_class.model_path.endswith(".pb")
      assert hasattr(model_class, "labels_path")
      assert model_class.labels_path.endswith(".txt")
      assert hasattr(model_class, "dataset")
      assert hasattr(model_class, "image_shape")
      assert len(model_class.image_shape) == 3
      assert hasattr(model_class, "image_value_range")
      assert hasattr(model_class, "input_name")
      assert hasattr(model_class, "layers")
      assert len(model_class.layers) > 0
      last_layer = model_class.layers[-1]
      assert "dense" in last_layer.tags
      assert type(last_layer) == Layer
      assert last_layer.model_class == model_class
      model_instance = model_class()
      assert model_instance.name == model_class.__name__
      assert last_layer.model_name == model_instance.name
  
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 3 for calling a global function with example usage: test_model_properties(name, model_class) without return types