Reconstructing shock front of unstable detonations based on multi-layer perceptron