Encoder and decoder ai symbol