Text this: Flexible self-rectifying synapse array for energy-efficient edge multiplication in electrocardiogram diagnosis