Quenches near Ising quantum criticality as a challenge for artificial neural networks