Yes. All your photos that are stored in your iPad’s internal storage (stored locally) will be deleted. However, if you’ve enabled automatic iCloud backup or upload, then rest assured that there copies left in your iCloud account. But we suggest that if you’re not 100% sure that your photos were uploaded to iCloud, it’s better to do it manually before the reset, just to make sure.