示例#1
0
 def __init__(self, neuron_id = None, activate_mode = 'Logistic', state_num = 1):
     Neuron.__init__(self)
     self.__id = neuron_id
     self.__mode = activate_mode
     self.__num = state_num
     for i in range(self.__num):
         self.__local.append(0)
         self.__output.append(0)
示例#2
0
 def __init__(self, neuron_id = None):
     Neuron.__init__(self)
     self.__id = neuron_id
     self.__local.append(0)
     self.__output.append(0)
示例#3
0
 def __init__(self, neuron_id=None):
     Neuron.__init__(self)
     self.__id = neuron_id
     self.__local.append(0)
     self.__output.append(0)