Mean-Field Theory of Meta-Learning