Network architecture search of X-ray based scientific applications