oa::ml::nn::PixelUnshuffle
Rearrange [N, C, H, W] to [N, C*r^2, H/r, W/r] — the exact inverse of PixelShuffle. Uses the same composed contract as PixelShuffle: flatten each sample and remap elements with one matrix::gather_last_dim over a host-built I32 index plane (out[.., c*r^2 + i*r + j, h, w] = in[.., c, h*r + i, w*r + j]). Parameterless; gradients flow through the gather adjoint.
Declaration
pub struct PixelUnshuffle { /* private fields */ }Public Rust declaration.
Public Methods
Associated Functions
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.