Skip to content

Commit 6226e59

Browse files
committed
Removed old TODO's
1 parent fe99de3 commit 6226e59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bindsnet/learning/MCC_learning.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class MCC_LearningRule(ABC):
2222
def __init__(
2323
self,
2424
connection: AbstractMulticompartmentConnection,
25-
# TODO: Will not work properly with primitive types int/float (not by reference)
2625
feature_value: Union[float, int, torch.Tensor],
2726
range: Optional[Union[list, tuple]] = None,
2827
nu: Optional[Union[float, Sequence[float]]] = None,
@@ -99,7 +98,6 @@ def update(self, **kwargs) -> None:
9998
polarity_swaps = self.polarities == torch.sign(self.feature_value)
10099
self.feature_value[polarity_swaps == 0] = 0
101100

102-
# TODO: FIX THIS
103101
# Bound weights.
104102
if ((self.min is not None) or (self.max is not None)) and not isinstance(
105103
self, NoOp

0 commit comments

Comments
 (0)