From 431453a441b83c2c619a2d11c2794ff97a3df925 Mon Sep 17 00:00:00 2001 From: Andrew Sansom Date: Fri, 7 Jun 2024 14:15:54 -0500 Subject: [PATCH] Update incorrect URLs in `utils/__init__.py` There are incorrect Source urls on several functions defined in `utils`. They are linking to a `utils.py` file, which was turned into a subpackage, so now they are located in `utils/__init__.py`. --- learn2learn/utils/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/learn2learn/utils/__init__.py b/learn2learn/utils/__init__.py index 6f1eed70..7f0591b3 100644 --- a/learn2learn/utils/__init__.py +++ b/learn2learn/utils/__init__.py @@ -10,7 +10,7 @@ def magic_box(x): """ - [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils.py) + [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils/__init__.py) **Description** @@ -58,7 +58,7 @@ def clone_named_parameters(param_dict): def clone_module(module, memo=None): """ - [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils.py) + [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils/__init__.py) **Description** @@ -158,7 +158,7 @@ def clone_module(module, memo=None): def detach_module(module, keep_requires_grad=False): """ - [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils.py) + [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils/__init__.py) **Description** @@ -239,7 +239,7 @@ def detach_distribution(dist): def update_module(module, updates=None, memo=None): r""" - [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils.py) + [[Source]](https://github.com/learnables/learn2learn/blob/master/learn2learn/utils/__init__.py) **Description**