@staticmethod<EOL><INDENT>def _init_net_specs(conf):<DEDENT>
for net_name, net_spec in list(conf.get('<STR_LIT>', {}).items()):<EOL><INDENT>net_spec['<STR_LIT:name>'] = net_name<EOL>net_spec['<STR_LIT>'] = {}<EOL>net_spec.setdefault('<STR_LIT:type>', '<STR_LIT>')<EOL><DEDENT>return conf<EOL>
Given a configuration specification, initializes all the net
definitions in it so they can be used comfortably

Args:
    conf (dict): Configuration specification

Returns:
    dict: the adapted new conf