class_docstr: Layer provides information on a model's layers.
class_docstr_tok: ["Layer","provides","information","on","a","model","'s","layers","."]
code: def __getitem__(self, name):
      if name == "type":
          warnings.warn(
              "Property 'type' is deprecated on model layers. Please check if 'tags' contains the type you are looking for in the future! We're simply a tag for now.",
              DeprecationWarning,
          )
          return list(self.tags)[0]
      if name not in self.__dict__:
          error_message = "'Layer' object has no attribute '{}'".format(
              name
          )
          raise AttributeError(error_message)
      return self.__dict__[name]
  
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 2 for calling the Layer obj's underlying member method code with example usage: obj.__getitem__(name) and returns: self, list