Digital electronics in fibres enable fabric-based machine-learning inference | Synapse