write a transformer layer in vector pseudocode, doing out the arithmetic fully for all machine learning operators