Skip to content

Commit

Permalink
misnamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Aug 3, 2021
1 parent afe7ac9 commit 23a739a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'triangle-multiplicative-module',
packages = find_packages(),
version = '0.0.2',
version = '0.0.3',
license='MIT',
description = 'Triangle Multiplicative Module',
author = 'Phil Wang',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def forward(self, x, mask = None):
out_gate = self.out_gate(x).sigmoid()

left = left * left_gate
right = right * left_gate
right = right * right_gate

out = einsum(self.mix_einsum_eq, left, right)

Expand Down

0 comments on commit 23a739a

Please sign in to comment.