z = self.sigmoid(np.dot(self.wz, combined) + self.bz) r = self.sigmoid(np.dot(self.wr, combined) + self.br)