Early-bird training and hierarchical hardware-aware model compression towards green and ubiquitous artificial intelligence