espnet2.asr_transducer.encoder.validation.validate_input_block
Less than 1 minute
espnet2.asr_transducer.encoder.validation.validate_input_block
espnet2.asr_transducer.encoder.validation.validate_input_block(configuration: Dict[str, Any], body_first_conf: Dict[str, Any], input_size: int) → int
Validate input block.
- Parameters:
- configuration – Encoder input block configuration.
- body_first_conf – Encoder first body block configuration.
- input_size – Encoder input block input size.
- Returns: Encoder input block output size.
- Return type: output_size