I am confused about training in enc_type mode. When should I use pooling, and when should I use AE? Thanks.