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§