resource-aware ML