Enhancing Split Computing and Early Exit Applications through Predefined Sparsity