docstr: Retrieves the layer by its name.
  :param name: name of the layer to retrieve. If name is None, it will retrieve the last added layer to the
  network.
  :return: layer output
docstr_tok: ["Retrieves","the","layer","by","its","name",".",":","param","name",":","name","of","the","layer","to","retrieve",".","If","name","is","None",",","it","will","retrieve","the","last","added","layer","to","the","network",".",":","return",":","layer","output"]
code: def get_layer(self, name: str = None):
      """
      Retrieves the layer by its name.
      :param name: name of the layer to retrieve. If name is None, it will retrieve the last added layer to the
      network.
      :return: layer output
      """
      if name is None:
          name = self.__last_layer_name
  
      return self.__layers[name]
  
file_path: mtcnn/mtcnn/network.py
imports: import tensorflow
label_desc: Use image node_id 4 for calling the Network obj's underlying member method code with example usage: obj.get_layer(name) and returns: self