How can be the gradient values for each input of batch accessed?

Still no smarter person than @JuanFMontesinos replying, but I’m gray-haired enough to recommend Efficient computation of per-sample examples and the discussion in issue #15359 for more inspiration.

Best regards

Thomas