1 repository
String-based patterns used to describe tensor rearrangements and reductions.
Distinct from Notation Converters: Focuses on high-level declarative string patterns for tensors specifically, rather than general mathematical notation conversion.
Explore 1 awesome GitHub repository matching software engineering & architecture · Declarative Tensor Notations. Refine with filters or upvote what's useful.
Einops is a tensor manipulation library that provides a framework-agnostic interface for reshaping, Einstein summation, and multi-dimensional array operations. It serves as an abstraction layer that works across NumPy, PyTorch, TensorFlow, and JAX, allowing for tensor transformations without changing the API. The library distinguishes itself through a declarative notation system that uses readable string patterns to describe tensor rearrangements and reductions. This approach includes an extended Einstein summation interface that supports multi-letter axis names and a named dimension mapping
Implements a declarative notation system that translates readable string patterns into backend-specific tensor operations.