Skip to content

Commit c01682e

Browse files
authored
Fix squeeze (#121)
1 parent 4124bb5 commit c01682e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/network_compression/wavelet_linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def wavelet_analysis(self, x):
7373
assert shape_lst == self.coefficient_len_lst[::-1], (
7474
"Wavelet shape assumptions false. This is a bug."
7575
)
76-
return c_tensor
76+
return c_tensor.squeeze(1)
7777

7878
def wavelet_reconstruction(self, x):
7979
"""Reconstruction from a tensor input.

0 commit comments

Comments
 (0)