Realm

oa::ml::matrix::adaptive_avg_pool_3d

Adaptively average-pool an NCDHW Matrix to exactly output_depth × output_height × output_width. Errors Returns an error unless input is a nonempty rank-five F32 Matrix and all output extents are nonzero, or runtime recording fails.

FnRust public API

Function Documentation

pub fn adaptive_avg_pool_3d( input: &Matrix, output_depth: usize, output_height: usize, output_width: usize ) -> Result<Matrix>
Adaptively average-pool an NCDHW Matrix to exactly output_depth × output_height × output_width. Errors Returns an error unless input is a nonempty rank-five F32 Matrix and all output extents are nonzero, or runtime recording fails.