Deep neural network for fitting analytical potential energy curve of diatomic molecules from ro-vibrational spectra