提交 1225fd50 编写于 作者: W wanghaoshuang

Add tokens2arch function in sa nas class.

上级 6e33e620
......@@ -100,6 +100,9 @@ class SANAS(object):
def _get_host_ip(self):
return socket.gethostbyname(socket.gethostname())
def tokens2arch(self, tokens):
return self._search_space.token2arch(self.tokens)
def next_archs(self):
"""
Get next network architectures.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册