def METHOD_NAME(model: Module) -> tuple[str, Module]:
    """Retrieve the input layer name and module from a timm model.
    Args:
        model: timm model
    """
    keys = []
    children = list(model.named_children())
    while children != []:
        name, module = children[0]
        keys.append(name)
        children = list(module.named_children())
    key = ".".join(keys)
    return key, module