espnet.asr.asr_utils.torch_load
Less than 1 minute
espnet.asr.asr_utils.torch_load
espnet.asr.asr_utils.torch_load(path, model)
Load torch model states.
- Parameters:
- path (str) – Model path or snapshot file path to be loaded.
- model (torch.nn.Module) – Torch model.