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§