Realm

oa::image::accumulate

Add one image to a running accumulation image elementwise, following accumulate. Both images must share shape, layout, and format; the result is a fresh F32 image, not an in-place update. Errors Returns an error unless both images are nonempty FP32 NCHW/CHW images with identical shape, layout, and format.

FnRust public API

Function Documentation

pub fn accumulate( input: &Image, accumulator: &Image ) -> Result<Image>
Add one image to a running accumulation image elementwise, following accumulate. Both images must share shape, layout, and format; the result is a fresh F32 image, not an in-place update. Errors Returns an error unless both images are nonempty FP32 NCHW/CHW images with identical shape, layout, and format.