mistralrs_vision

Trait ApplyTensorTransforms

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

Application of transforms to the Self type.

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<'a> ApplyTensorTransforms<'a> for Tensor

source§

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

Implementors§