GradCam#

class torch_ecg.models.GradCam(model: Module, feature_module: Module, target_layer_names: Sequence[str], target_channel_last: bool = False, device: str = 'cpu')[source]#

Bases: object

Gradient-weighted Class Activation Mapping for ECG models.

Note

This class is not finished; it is excluded from coverage and should be considered a draft.