0.1.0 — 2026-12-04

Initial release.

Added

  • Einops.rearrange/3, Einops.reduce/4, Einops.repeat/3, and Einops.parse_shape/2 for ordinary Nx tensors.
  • Named axes, ordered grouping and splitting, singleton dimensions, scalars, and ellipses, with keyword or string-keyed axis lengths.
  • Seven reducers: sum, mean, minimum, maximum, product, any, and all.
  • Nx.Defn tracing, JIT and template compilation, vectorized axes, and gradients through differentiable tensor transformations.
  • Contextual Einops.Error diagnostics with the operation, pattern, input shape, supplied lengths, and reason.
  • Independent Python einops references for values, shape metadata, and numerical gradients; strict formatting, compilation, and test checks.
  • ExDoc documentation and package metadata for einops under the MIT license.

Compatibility

The release targets Elixir 1.17 or later within 1.x and Nx 1.0.x. Correctness is verified with Nx.BinaryBackend and Nx.Defn.Evaluator; optional native backends and compilers have not been validated.

The supported syntax is a documented subset of Python einops. einsum, packing, tensor-list inputs, custom reduction callbacks, nested or empty groups, and anonymous numeric factors other than 1 are outside this release. See README.md for the API and boundaries, and TESTING.md for the verification scope and numerical tolerances.