Nanoelectronics for energy-efficient smart edge devices