游雁
2023-06-29 1bdb9563183cf941681194e03dc749023a3e37ed
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