def METHOD_NAME(name, child_module, full_child_name):
    """
    Computed the diffusers key that is compatible with the extra networks feature in the webui.
    """
    if child_module.__class__.__name__ == "LoraInjectedLinear" or child_module.__class__.__name__ == "LoraInjectedConv2d":
        lora_name = f"{name}.{full_child_name}"
        lora_name = lora_name.replace('.', '_')
        return lora_name
    else:
        print(f"Unsupported module type {child_module.__class__.__name__}")
        return None