saliency icon indicating copy to clipboard operation
saliency copied to clipboard

Use batches for SmoothGrad

Open lenbrocki opened this issue 3 years ago • 0 comments

To speed up the computation for obtaining smoothed masks, the noisy samples are created first and gradients are obtained as a single batch for all the noisy samples. Afterwards the gradients (or their squares) are summed to give the final smoothed mask.

lenbrocki avatar Jan 19 '22 15:01 lenbrocki