Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement unfold-operation similar to torch.Tensor.unfold #1400

Closed
mrfh92 opened this issue Mar 11, 2024 · 4 comments · Fixed by #1419
Closed

Implement unfold-operation similar to torch.Tensor.unfold #1400

mrfh92 opened this issue Mar 11, 2024 · 4 comments · Fixed by #1419
Assignees
Labels
enhancement New feature or request halo Operations requiering a tensor halo manipulations

Comments

@mrfh92
Copy link
Collaborator

mrfh92 commented Mar 11, 2024

Feature functionality
The idea is to introduce a function ht.unfold in the manipulations-module that has the same functionality as PyTorchs unfold.
In fact, this only requires additional efforts for the case split=dimension (dimension is the axis along which unfold takes place); otherwise you can directly apply the torch-function to the local arrays.

Hint: some auxiliary stuff required in the "difficult" case may already be implemented under the name "halo".

Additional context
With the help of such an operation it will be possible to generate sliding patches of an data set, e.g., to generate from an image (2/3d-array) the 4/5d-array of all size x size sub-images etc.

@mrfh92 mrfh92 added enhancement New feature or request halo Operations requiering a tensor halo manipulations labels Mar 11, 2024
Copy link
Contributor

Copy link
Contributor

This issue is stale because it has been open for 60 days with no activity.

Copy link
Contributor

This issue was closed because it has been inactive for 60 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@mrfh92
Copy link
Collaborator Author

mrfh92 commented Jul 15, 2024

@github-actions bot: it is planned, because someone is actively working on it!

@mrfh92 mrfh92 reopened this Jul 15, 2024
@github-actions github-actions bot removed the stale label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request halo Operations requiering a tensor halo manipulations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants