Flexible, Powerful, and Readable Tensor Operations


[Up] [Top]

Documentation for package ‘einops’ version 0.2.1

Help Pages

as_image_tensor Image Tensor: A thin wrapper around 2-4D arrays
einop Perform Einstein-style tensor operations
einops.rearrange Reader-friendly smart element reordering for multidimensional tensors.
einops.reduce Rearrangement and reduction in one step
einops.repeat Allows reordering elements and repeating them in arbitrary combinations.
einops_image Example 4D Image Tensor for Einops
image_tensor Image Tensor: A thin wrapper around 2-4D arrays
parse_shape Parse a tensor shape to dictionary mapping axes names to their lengths.
rearrange Reader-friendly smart element reordering for multidimensional tensors.
reduce Rearrangement and reduction in one step
repeat Allows reordering elements and repeating them in arbitrary combinations.