def agr(self, x):
    bias = self.weights[(- 1)]
    out = (np.inner(self.weights.copy()[:(- 1)], x) + bias)
    return out
def agr(self, x):
    bias = self.weights[(- 1)]
    out = (np.inner(self.weights.copy()[:(- 1)], x) + bias)
    return out