Early-Exit Criteria for Edge Semantic Segmentation