Slice resource allocation with multiple edge-exit distributed deep neural networks