Skip to content

Commit

Permalink
remove extraneous code
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Aug 2, 2021
1 parent 34c16f5 commit e2d64a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions perceiver_pytorch/perceiver_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ def forward(

latents = self.decoder_cross_attn(queries, context = x)

if not exists(latents):
return latents

# final linear out

return self.to_logits(latents)
Expand Down
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 = 'perceiver-pytorch',
packages = find_packages(),
version = '0.5.0',
version = '0.5.1',
license='MIT',
description = 'Perceiver - Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit e2d64a0

Please sign in to comment.