xnn.ffnn.models.amoeba_kernels.mutual_backward#
- xnn.ffnn.models.amoeba_kernels.mutual_backward(mu, lam, r_vec, du, i_, k_, count=None, select=None)[source]#
grad_r(M, 3)andgrad_du(M, 2)ofsum(lam * (T mu))over the pairs (the products of the implicit backward of the induction);countandselectas inpairs_forward()(the pairs not visited have zero ladders and get zero gradients).