code: def get_net_seq(net_configs, vocabulary, num_steps):
      net_str_list = arch_search_convnet_net2net.get_net_str(
          net_configs
      )
      net_seq = []
      seq_len = []
      for net_str in net_str_list:
          net_str = re.split("_", net_str)
          net_code = vocabulary.get_code(net_str)
          _len = len(net_code)
          net_code += [
              vocabulary.pad_code
              for _ in range(len(net_code), num_steps)
          ]
          net_seq.append(net_code)
          seq_len.append(_len)
      return arch_search_convnet_net2net.np.array(
          net_seq
      ), arch_search_convnet_net2net.np.array(seq_len)
  
file_path: auptimizer/src/aup/Proposer/EASProposer.py
imports: import re
  import numpy
  import logging
label_desc: Use image node_id 2 for calling the EASProposer obj's underlying member method code with example usage: obj.get_net_seq(net_configs, vocabulary, num_steps) and returns: arch_search_convnet_net2net,  arch_search_convnet_net2net