code: def _layers_from_list_of_dicts(
      model_instance: "Model", list_of_dicts
  ):
      layers = []
      for layer_info in list_of_dicts:
          name, depth, tags = (
              layer_info["name"],
              layer_info["depth"],
              layer_info["tags"],
          )
          layer = Layer(model_instance, name, depth, tags)
          layers.append(layer)
      return tuple(layers)
  
imports: from __future__ import absolute_import, division, print_function
  from os import path
  import warnings
  import logging
  from itertools import chain
  import tensorflow
  import numpy
  from lucid.modelzoo import util
  from lucid.modelzoo.aligned_activations import get_aligned_activations
  from lucid.modelzoo.get_activations import get_activations
  from lucid.misc.io import load, save
  import lucid.misc.io.showing
label_desc: Use image node_id 1 for calling a global function with example usage: _layers_from_list_of_dicts(model_instance, list_of_dicts) and returns: tuple