The objective of this paper is to focus on the study of a periodic temporal parabolic equation involving a variable exponent p(x). After proving the existence and uniqueness of the solution, we provide a method for its numerical simulation using emerging deep learning technologies.