Network Diffusions via Neural Mean-Field Dynamics