code: def get_net_str(self, net_configs):
      if isinstance(net_configs, list):
          if len(net_configs) == 1:
              net_config = net_configs[0]
              net_str = []
              for layer in net_config.layer_cascade.layers[:-1]:
                  if isinstance(
                      layer, arch_search_convnet_net2net.ConvLayer
                  ):
                      net_str.append(
                          "conv-%d-%d"
                          % (layer.filter_num, layer.kernel_size)
                      )
                  elif isinstance(
                      layer, arch_search_convnet_net2net.FCLayer
                  ):
                      net_str.append("fc-%d" % layer.units)
                  else:
                      net_str.append("pool")
              return ["_".join(net_str)]
          else:
              net_str_list = []
              for net_config in net_configs:
                  net_str_list += (
                      arch_search_convnet_net2net.get_net_str(
                          [net_config]
                      )
                  )
              return net_str_list
      else:
          return arch_search_convnet_net2net.get_net_str([net_configs])[
              0
          ]
  
file_path: auptimizer/src/aup/Proposer/EASProposer.py
imports: import re
  import numpy
  import logging
label_desc: Use image node_id 1 for calling the EASProposer obj's underlying member method code with example usage: obj.get_net_str(net_configs) and returns: arch_search_convnet_net2net, list, net_str_list