FTTE: Federated Learning on Resource-Constrained Devices