class_docstr: Tests based on a more non-standard model
  
  Specifically, add modules with non-standard names and non-standard outputs
  like tuples or dicts.
  
  This test class does not re-iterate all the tests performed on the standard
  model but focuses on the parts that change, e.g. how the outputs are
  recorded.
class_docstr_tok: ["Tests","based","on","a","more","non-standard","model","Specifically",",","add","modules","with","non-standard","names","and","non-standard","outputs","like","tuples","or","dicts",".","This","test","class","does","not","re-iterate","all","the","tests","performed","on","the","standard","model","but","focuses","on","the","parts","that","change",",","e.g",".","how","the","outputs","are","recorded","."]
code: def test_get_layer_names(self, doctor):
      layer_names = doctor.get_layer_names()
      expected = {
          "mymodule": [
              "module0.lin0",
              "module0.lin1",
              "module0[0]",
              "module0[1]",
              "module1.softmax",
              'module1["logits"]',
              'module1["softmax"]',
          ],
          "seq": ["0"],
          "mycriterion": ["lin0"],
      }
      assert layer_names == expected
  
imports: import itertools
  from unittest import mock
  import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 11 for calling the TestSkorchDoctorComplexArchitecture obj's underlying member method code with example usage: obj.test_get_layer_names(doctor) without return types