def init(m):
    if self.wholemodule:
        normal_init(m, self.mean, self.std, self.bias)
    else:
        layername = m.__class__.__name__
        basesname = _get_bases_name(m)
        if len((set(self.layer) & set(([layername] + basesname)))):
            normal_init(m, self.mean, self.std, self.bias)
def init(m):
    if self.wholemodule:
        normal_init(m, self.mean, self.std, self.bias)
    else:
        layername = m.__class__.__name__
        basesname = _get_bases_name(m)
        if len((set(self.layer) & set(([layername] + basesname)))):
            normal_init(m, self.mean, self.std, self.bias)