Trait einops::RepeatFn [−][src]
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]
Self: Sized + Backend,
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]
&self,
pattern: &str,
axes_lengths: &[(&str, usize)]
) -> Result<Self, EinopsError> where
Self: Sized + Backend,
Apply repeat operation using the pattern and additional axes lengths attribute