Hello @ptrblck sorry for my late reply, I did not receive notification about your response.
Your solution works, but it’s still not intuitive for me regarding the unsqueeze that you do. Can you please elaborate on it? Thanks