Deep learning of ultrafast pulses with a multimode fiber