We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe99de3 commit 6226e59Copy full SHA for 6226e59
bindsnet/learning/MCC_learning.py
@@ -22,7 +22,6 @@ class MCC_LearningRule(ABC):
22
def __init__(
23
self,
24
connection: AbstractMulticompartmentConnection,
25
- # TODO: Will not work properly with primitive types int/float (not by reference)
26
feature_value: Union[float, int, torch.Tensor],
27
range: Optional[Union[list, tuple]] = None,
28
nu: Optional[Union[float, Sequence[float]]] = None,
@@ -99,7 +98,6 @@ def update(self, **kwargs) -> None:
99
98
polarity_swaps = self.polarities == torch.sign(self.feature_value)
100
self.feature_value[polarity_swaps == 0] = 0
101
102
- # TODO: FIX THIS
103
# Bound weights.
104
if ((self.min is not None) or (self.max is not None)) and not isinstance(
105
self, NoOp
0 commit comments