espnet.nets.pytorch_backend.transducer.blocks.build_conv1d_block
Less than 1 minute
espnet.nets.pytorch_backend.transducer.blocks.build_conv1d_block
espnet.nets.pytorch_backend.transducer.blocks.build_conv1d_block(block: Dict[str, Any], block_type: str) → CausalConv1d
Build function for causal conv1d block.
- Parameters:block – CausalConv1d or Conv1D block parameters.
- Returns: Function to create conv1d (encoder) or causal conv1d (decoder) block.