Skip to content

Commit

Permalink
Bugfix VSum (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRuhe authored Oct 4, 2023
1 parent fd831fe commit d5994bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliffordlayers/nn/modules/gcan.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def __init__(self):
super().__init__()

def forward(self, input):
return torch.sigmoid(input.mean(-1, keepdim=True)) * input
return torch.sigmoid(input.sum(-1, keepdim=True)) * input


class CliffordG3MeanVSiLU(nn.Module):
Expand Down

0 comments on commit d5994bf

Please sign in to comment.