Realm

oa::ml::matrix::max_pool_3d

Max-pool an NCDHW Matrix with a cubic kernel, emitting argmax indices. Errors Returns an error unless input is a nonempty rank-five F32 Matrix, kernel_size and stride are nonzero, the kernel fits the padded input, or runtime recording fails.

FnRust public API

Function Documentation

pub fn max_pool_3d( input: &Matrix, kernel_size: usize, stride: usize, padding: usize ) -> Result<MaxPool3dResult>
Max-pool an NCDHW Matrix with a cubic kernel, emitting argmax indices. Errors Returns an error unless input is a nonempty rank-five F32 Matrix, kernel_size and stride are nonzero, the kernel fits the padded input, or runtime recording fails.