── POPULAR TAGS ──
#python (664)
#typescript (613)
#cli (562)
#hacktoberfest (494)
#cli-tool (488)
#react (481)
#javascript (449)
#rust (418)
#cross-platform (388)
#go (371)
#devops (317)
#ai (304)
#nodejs (298)
#llm (297)
#golang (288)
#android (270)
#open-source (255)
#docker (249)
#machine-learning (221)
#java (217)
#plugin-system (215)
#monorepo (214)
#security (213)
#self-hosted (211)
#linux (207)
#mcp (204)
#awesome-list (197)
#plugin-architecture (195)
#deep-learning (187)
#ai-agents (187)
opt_einsum is a Python library that optimizes the contraction order of tensor expressions (einsum-like) to reduce computational complexity and memory usage. It serves as a drop-in replacement for numpy.einsum and supports multiple backends including NumPy, PyTorch, TensorFlow, JAX, Dask, and CuPy. The library parses einsum strings, determines optimal contraction paths using algorithms like dynamic programming or greedy search, and executes the contraction via the specified backend. Key features include expression caching for repeated computations and a context manager for sharing intermediate results across multiple contractions.
RATING:
MAINT: active
DRIFT: low
▸ 3 reusable components found
── end of results ──