def __init__(self, weights, func, dfunc):
    self.weights = weights
    self.output = None
    self.func = func
    self.dfunc = dfunc
    self.delta = None
def __init__(self, weights, func, dfunc):
    self.weights = weights
    self.output = None
    self.func = func
    self.dfunc = dfunc
    self.delta = None