pub trait ImageTransform {
type Input;
type Output;
// Required method
fn map(&self, x: &Self::Input, device: &Device) -> Result<Self::Output>;
}
Expand description
A transform over an image. The input may vary but the output is always a Tensor.