Skip to content

Commit

Permalink
add aliasing kan=multkan
Browse files Browse the repository at this point in the history
  • Loading branch information
KindXiaoming committed Jul 8, 2024
1 parent 54d2758 commit 3c71198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion kan/MultKAN.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,4 +1454,7 @@ def module(self, start_layer, chain):
self.symbolic_fun[cl].mask.data[np.ix_(id_out,id_in_other)] = 0.
self.symbolic_fun[cl].mask.data[np.ix_(id_out_other,id_in)] = 0.

self.log_history('module')
self.log_history('module')


KAN = MultKAN
1 change: 0 additions & 1 deletion kan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from .MultKAN import *
from .KAN import *

0 comments on commit 3c71198

Please sign in to comment.