Nature Electronics, Published online: 09 June 2026; doi:10.1038/s41928-026-01646-9 An in-hardware signal-folding scheme, which can be applied to one-transistor–one-resistor molybdenum disulfide arrays, can simultaneously achieve high weight precision and energy efficiency.