Wait!

This refers to hardware and Logic Gates. Not the Encoder-Decoder transformer model

Their Form:

Before asking โ€˜What can they do?โ€™, ask โ€˜What actually are they?โ€˜. They come in many different forms, namely hardware (element of CPB or IC) or software. This page primarily focuses on their place in Combinational and Sequential Logic Blocks.

Encoder: