The codec module implements the Decoder and Encoder layers of the Transformer model. Each layer has two sublayers, namely:
codec
pub use self::decoder::Decoder;
pub use self::encoder::Encoder;