espnet2.layers.create_adapter_utils.replace_module
Less than 1 minute
espnet2.layers.create_adapter_utils.replace_module
espnet2.layers.create_adapter_utils.replace_module(parent_module: Module, child_name: str, old_module: Module, new_module: Module)
Replace the target module with the new module.