code: def get_net_str(net_configs):
      if len(net_configs) == 1:
          net_config = net_configs[0]
          net_str = []
          for block in net_config.blocks:
              if isinstance(block, DenseBlock):
                  block_str = []
                  for miniblock in block.miniblocks:
                      block_str.append(
                          "g%d" % miniblock.out_features_dim
                      )
                  block_str = "-".join(block_str)
                  net_str.append(block_str)
              else:
                  net_str.append("t")
          return ["_".join(net_str)]
      else:
          net_str_list = []
          for net_config in net_configs:
              net_str_list += get_net_str([net_config])
          return net_str_list
  
file_path: auptimizer/src/aup/Proposer/eas/arch_search/arch_search_densenet_net2net.py
imports: from ..expdir_monitor.arch_manager import ArchManager
  from ..meta_controller.base_controller import Vocabulary, EncoderNet, WiderActorNet, DeeperActorNet
  from ..meta_controller.rl_controller import ReinforceNet2NetController
  from time import gmtime, strftime, time
  from datetime import timedelta
  from ..models.dense_net import DenseBlock, TransitionBlock
  import re
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_net_str(net_configs) and returns: list, net_str_list