boundlab.prop.input_smear#
- boundlab.prop.input_smear(e, target, radius, reduce='max')[source]#
ReluVal-style smear per
targetdimension.\[\mathrm{smear}_j = \mathrm{reduce}_i |J_{ij}| \cdot \mathrm{radius}_j\]where
J = input_attribution(e, target).reduceis"max"(ReluVal: \(\max_i |J_{ij}|\)),"sum"(total width contribution), or"none"(return|J|with no output reduction, just scaled by radius).radiusbroadcasts againsttarget.shape.