oa::ml::matrix::max_unpool_2d
Scatter NCHW pooled values back into an image of output_height × output_width using the recorded argmax indices, the adjoint scatter of max_pool_2d. Errors Returns an error unless input and indices are nonempty rank-four same-shape NCHW Matrices on one runtime (indices U32), the declared output geometry admits the kernel/stride/padding window grid, or runtime recording fails.
Function Documentation
Scatter NCHW pooled values back into an image of output_height × output_width using the recorded argmax indices, the adjoint scatter of max_pool_2d. Errors Returns an error unless input and indices are nonempty rank-four same-shape NCHW Matrices on one runtime (indices U32), the declared output geometry admits the kernel/stride/padding window grid, or runtime recording fails.