xnn.ffnn.models.amoeba_kernels.shift_cell_gradient#
- xnn.ffnn.models.amoeba_kernels.shift_cell_gradient(shift, g, count=None)[source]#
sum_e shift[e] (x) g[e](3, 3)in float64 over the pairs beforecount(all without it): the gradient of the image shifts’ product with the one cell. One Triton launch on a GPU (no matrix product, whose library workspace a recorded CUDA graph does not keep), a product on a CPU.