Skip to content

Commit

Permalink
Update MultKAN.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KindXiaoming authored Jul 15, 2024
1 parent a47623e commit cc9ae32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kan/MultKAN.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class MultKAN(nn.Module):

# include mult_ops = []
def __init__(self, width=None, grid=3, k=3, mult_arity = 2, noise_scale=1.0, scale_base_mu=0.0, scale_base_sigma=1.0, base_fun='silu', symbolic_enabled=True, affine_trainable=False, grid_eps=1.0, grid_range=[-1, 1], sp_trainable=True, sb_trainable=True, device='cpu', seed=0, save_plot_data=True, sparse_init=False, auto_save=False, first_init=True, ckpt_path='./model', state_id=0):
def __init__(self, width=None, grid=3, k=3, mult_arity = 2, noise_scale=1.0, scale_base_mu=0.0, scale_base_sigma=1.0, base_fun='silu', symbolic_enabled=True, affine_trainable=False, grid_eps=1.0, grid_range=[-1, 1], sp_trainable=True, sb_trainable=True, device='cpu', seed=0, save_plot_data=True, sparse_init=False, auto_save=True, first_init=True, ckpt_path='./model', state_id=0):

super(MultKAN, self).__init__()

Expand Down

0 comments on commit cc9ae32

Please sign in to comment.