espnet2.asr_transducer.encoder.building.build_branchformer_block
Less than 1 minute
espnet2.asr_transducer.encoder.building.build_branchformer_block
espnet2.asr_transducer.encoder.building.build_branchformer_block(configuration: List[Dict[str, Any]], main_params: Dict[str, Any]) → Branchformer
Build Branchformer block.
- Parameters:
- configuration – Branchformer block configuration.
- main_params – Encoder main parameters.
- Returns: Branchformer block function.