Skip to content

Commit

Permalink
remove learning_rule argument from Conv and Pool
Browse files Browse the repository at this point in the history
  • Loading branch information
atenagm1375 committed Mar 24, 2021
1 parent 55cdb08 commit 055429f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cnsproject/network/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

from abc import ABC, abstractmethod
from typing import Optional, Union, Sequence
from typing import Union, Sequence

import torch

Expand Down Expand Up @@ -156,6 +156,7 @@ def __init__(
super().__init__(
pre=pre,
post=post,
lr=lr,
weight_decay=weight_decay,
**kwargs
)
Expand Down Expand Up @@ -212,6 +213,7 @@ def __init__(
super().__init__(
pre=pre,
post=post,
lr=lr,
weight_decay=weight_decay,
**kwargs
)
Expand Down Expand Up @@ -268,7 +270,6 @@ def __init__(
super().__init__(
pre=pre,
post=post,
learning_rule=learning_rule,
lr=lr,
weight_decay=weight_decay,
**kwargs
Expand Down Expand Up @@ -329,7 +330,6 @@ def __init__(
super().__init__(
pre=pre,
post=post,
learning_rule=learning_rule,
lr=lr,
weight_decay=weight_decay,
**kwargs
Expand Down

0 comments on commit 055429f

Please sign in to comment.