mistralrs_vision

Trait ApplyTransforms

Source
pub trait ApplyTransforms<'a> {
    // Required method
    fn apply(
        &self,
        transforms: Transforms<'a>,
        device: &Device,
    ) -> Result<Tensor>;
}
Expand description

Application of transforms to the Self type.

Required Methods§

Source

fn apply(&self, transforms: Transforms<'a>, device: &Device) -> Result<Tensor>

Implementations on Foreign Types§

Source§

impl<'a> ApplyTransforms<'a> for DynamicImage

Source§

fn apply(&self, transforms: Transforms<'a>, device: &Device) -> Result<Tensor>

Implementors§