Multilayer perceptron and Bayesian neural network based implicit elastic full-waveform inversion