dongyh20
update space
1938217
raw
history blame contribute delete
311 Bytes
from .speech_projector import EncoderProjectorConcat
def build_speech_projector(config):
projector_type = getattr(config, 'speech_projector_type', 'linear')
if projector_type == 'linear':
return EncoderProjectorConcat(config)
raise ValueError(f'Unknown projector type: {projector_type}')