Trait einops::RearrangeFn [−][src]
Trait that allows calling the rearrange operation directly on the tensor
Provided methods
fn rearrange(&self, pattern: &str) -> Result<Self, EinopsError> where
Self: Sized + Backend,
[src]
Self: Sized + Backend,
Apply rearrange operation using the pattern
fn rearrange_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 rearrange operation using the pattern and additional axes lengths attribute