Transforming sensors at the edge