結果 : how does an encoder different from a decoder