Using AI to design energy-efficient AI accelerators for the edge