pub fn minmax_with_kernel( input: &MinmaxInput<'_>, kernel: Kernel, ) -> Result<MinmaxOutput, MinmaxError>