def METHOD_NAME(name='silu', inplace=True):
    if name == 'silu':
        module = nn.SiLU(inplace=inplace)
    elif name == 'relu':
        module = nn.ReLU(inplace=inplace)
    elif name == 'lrelu':
        module = nn.LeakyReLU(0.1, inplace=inplace)
    elif name == 'identity':
        module = nn.Identity()
    else:
        raise AttributeError('Unsupported act type: {}'.format(name))
    return module