Trait einops::RepeatFn[][src]

pub trait RepeatFn {
    fn repeat(&self, pattern: &str) -> Result<Self, EinopsError>
    where
        Self: Sized + Backend
, { ... }
fn repeat_with_lengths(
        &self,
        pattern: &str,
        axes_lengths: &[(&str, usize)]
    ) -> Result<Self, EinopsError>
    where
        Self: Sized + Backend
, { ... } }

Trait that allows calling the repeat operation directly on the tensor

Provided methods

fn repeat(&self, pattern: &str) -> Result<Self, EinopsError> where
    Self: Sized + Backend, 
[src]

Apply repeat operation using the pattern

fn repeat_with_lengths(
    &self,
    pattern: &str,
    axes_lengths: &[(&str, usize)]
) -> Result<Self, EinopsError> where
    Self: Sized + Backend, 
[src]

Apply repeat operation using the pattern and additional axes lengths attribute

Loading content...

Implementors

Loading content...