Statistics for Constraining the astrophysics and cosmology from 21 cm tomography using deep learning with the SKA