class_docstr: Model allows using pre-trained models.
class_docstr_tok: ["Model","allows","using","pre-trained","models","."]
code: def get_layer(self, name):
      # Search by exact match
      for layer in self.layers:
          if layer.name == name:
              return layer
      # if not found by exact match, search fuzzy and warn user:
      for layer in self.layers:
          if name.lower() in layer.name.lower():
              log.warning(
                  "Found layer by fuzzy matching, please use '%s' in the future!",
                  layer.name,
              )
              return layer
      key_error_message = "Could not find layer with name '{}'! Existing layer names are: {}"
      layer_names = str([l.name for l in self.layers])
      raise KeyError(key_error_message.format(name, layer_names))
  
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 17 for calling the Model obj's underlying member method code with example usage: obj.get_layer(name) and returns: layer, layer