def ComputeDeriv(self):
    'Compute derivative w.r.t input given derivative w.r.t output.'
    self.deriv.apply_logistic_deriv(self.state)
Compute derivative w.r.t input given derivative w.r.t output.
def ComputeDeriv(self):
    
    self.deriv.apply_logistic_deriv(self.state)