Combining Relevance and Magnitude for Resource-Aware DNN Pruning