Applications of Statistical Field Theory in Deep Learning