Learn to memorize.