A deep Legendre polynomial neural network for nonlinear time–space fractional reaction–diffusion equations | Synapse