def __init__(self, net_info, init):
    self.net_info = net_info
    self.gene = np.zeros(((self.net_info.node_num + self.net_info.out_num), (self.net_info.max_in_num + 1))).astype(int)
    self.is_active = np.empty((self.net_info.node_num + self.net_info.out_num)).astype(bool)
    self.is_pool = np.empty((self.net_info.node_num + self.net_info.out_num)).astype(bool)
    self.eval = None
    self.size = None
    if init:
        print('init with specific architectures')
        self.init_gene_with_conv()
    else:
        self.init_gene()
def __init__(self, net_info, init):
    self.net_info = net_info
    self.gene = np.zeros(((self.net_info.node_num + self.net_info.out_num), (self.net_info.max_in_num + 1))).astype(int)
    self.is_active = np.empty((self.net_info.node_num + self.net_info.out_num)).astype(bool)
    self.is_pool = np.empty((self.net_info.node_num + self.net_info.out_num)).astype(bool)
    self.eval = None
    self.size = None
    if init:
        print('init with specific architectures')
        self.init_gene_with_conv()
    else:
        self.init_gene()