Resource-Constrained Intelligent Edge Systems for Internet-of-Things Applications