Deep learning for early warning signals of tipping points