1. An encoding apparatus having a learning function, comprising: a plurality of storage means for storing learned contents; and control means for setting one of said plurality of storage means in a learning state and the other in an initialized state and switching the state for every predetermined processing.