Skip to content

Commit b6c8874

Browse files
committed
make contiguous at end
1 parent 17471ca commit b6c8874

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lambda_networks/lambda_networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ def forward(self, x):
7777

7878
Y = Yc + Yp
7979
out = rearrange(Y, 'b (hh ww) h v -> b (h v) hh ww', hh = hh, ww = ww)
80-
return out
80+
return out.contiguous()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = 'lambda-networks',
55
packages = find_packages(),
6-
version = '0.2.0',
6+
version = '0.2.1',
77
license='MIT',
88
description = 'Lambda Networks - Pytorch',
99
author = 'Phil Wang',

0 commit comments

Comments
 (0)