Create properties to access encoder/decoder
To avoid typos and improve readability. GenericTrainingManager should have the self.encoder
and self.decoder
properties. We should have global variable names for the reserved configuration keys "encoder"
and "decoder"
.