Training single layer early code