Resource-Constrained AI