結果 : how is an encoder different from a decoder