Skip to content

Commit

Permalink
remove sigmoid gating
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Apr 9, 2021
1 parent 97e5cac commit 6be0c37
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 = 'siren-pytorch',
packages = find_packages(),
version = '0.1.4',
version = '0.1.5',
license='MIT',
description = 'Implicit Neural Representations with Periodic Activation Functions',
author = 'Phil Wang',
Expand Down
2 changes: 1 addition & 1 deletion siren_pytorch/siren_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def forward(self, x, mods = None):
x = layer(x)

if exists(mod):
x *= rearrange(mod, 'd -> () d').sigmoid()
x *= rearrange(mod, 'd -> () d')

return self.last_layer(x)

Expand Down

0 comments on commit 6be0c37

Please sign in to comment.