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,
{ ... }
}
Expand description
Trait that allows calling the repeat operation directly on the tensor
Provided methods
Apply repeat operation using the pattern