Trait Upsample

Source
pub trait Upsample<D> {
    // Required method
    fn upsample(&self, dst: &mut D);
}
Expand description

Represents an upsampling action, which usually implies interpolation. Like downsample, this trait works by querying the dimension mismatch between input and output. Might work from dense-to-dense or sparse-to-dense structures (in which case we have a simple upsampling operation). As Downsample, it might work in either direction from owned or borrowed structures.

Required Methods§

Source

fn upsample(&self, dst: &mut D)

Implementors§