heat icon indicating copy to clipboard operation
heat copied to clipboard

Implement unfold-operation similar to `torch.Tensor.unfold`

Open mrfh92 opened this issue 11 months ago • 2 comments

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 avatar Mar 11 '24 07:03 mrfh92

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

github-actions[bot] avatar May 13 '24 02:05 github-actions[bot]

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

github-actions[bot] avatar Jul 15 '24 02:07 github-actions[bot]

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

mrfh92 avatar Jul 15 '24 07:07 mrfh92