def convert_key_for_Sequential(key):
    """Convert key for nn.Sequential(). e.g. 'layer1.0.conv1'⇒'layer1[0].conv1'

    Args:
        key (-) : Weight key
    Returns:
        converted_key (str): Converted key
    """
    converted_key = ''
    layers = key.split('.')
    for i, layer in enumerate(layers):
        if layer.isdecimal():
            converted_key += '[' + layer + ']'
            if i != len(layers) - 1:
                converted_key += '.'
        else:
            converted_key += layer
    return converted_key