Commit ab88009
committed
refactor(language-model): rename hook functions and enhance AdjacencyMatrix class
- Rename hook functions for clarity: `hook_in_fn_builder` to `replacement_hookin_fn_builder`, `hook_out_fn_builder` to `replacement_hookout_fn_builder`, and `detach_hook_fn_builder` to `detach_hook_builder`.
- Introduce `AdjacencyMatrix` class to replace `EdgeMatrix`, simplifying the construction and management of source and target lists.
- Improve type hints and docstrings for better clarity and maintainability.1 parent f2bcb89 commit ab88009
1 file changed
+252
-297
lines changed
0 commit comments