generated data for mnist