    def input_from(self):
        """Condition on encoder/decoder of the main model"""
        return "decoder" if "decoder_layer" in self.config else "encoder"
Condition on encoder/decoder of the main model
fairseq/data/audio/data_cfg.py