雾聪
2023-08-10 ffb05b9ae7eccc47416e9e7fae9dea54d400a245
funasr/torch_utils/initialize.py
@@ -4,7 +4,6 @@
import math
import torch
from typeguard import check_argument_types
def initialize(model: torch.nn.Module, init: str):
@@ -19,7 +18,6 @@
        model: Target.
        init: Method of initialization.
    """
    assert check_argument_types()
    if init == "chainer":
        # 1. lecun_normal_init_parameters