Skip to content

Commit

Permalink
Remove squeeze
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Sep 6, 2024
1 parent cb6ea90 commit 85e37e7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions replay_trajectory_classification/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,7 @@ def convert_results_to_xarray(
{
key: (
dims,
mask(value, is_track_interior)
.squeeze(axis=-1)
.reshape(new_shape, order="F"),
mask(value, is_track_interior).reshape(new_shape, order="F"),
)
for key, value in results.items()
},
Expand All @@ -340,9 +338,7 @@ def convert_results_to_xarray(
{
key: (
dims,
mask(value, is_track_interior)
.squeeze(axis=-1)
.reshape(new_shape),
mask(value, is_track_interior).reshape(new_shape),
)
for key, value in results.items()
},
Expand Down

0 comments on commit 85e37e7

Please sign in to comment.