Einops

Latest version: v0.8.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.6.0

What's Changed

* Introduce einops.pack and einops.unpack by arogozhnikov in https://github.com/arogozhnikov/einops/pull/222
* Update example to match description by EPronovost in https://github.com/arogozhnikov/einops/pull/217
* Improve type hinting by arogozhnikov in https://github.com/arogozhnikov/einops/pull/221
* Cosmetics for pack/unpack: documentation and comments by arogozhnikov in https://github.com/arogozhnikov/einops/pull/223
* Preparations for 0.6.0 release by arogozhnikov in https://github.com/arogozhnikov/einops/pull/224

New Contributors
* EPronovost made their first contribution in https://github.com/arogozhnikov/einops/pull/217

Announcement

Sunsetting experimental mxnet support: no demand and package is outdated, with numerous deprecations and poor support of corner cases. 0.6.0 will be the last release with mxnet backend.

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.5.0...v0.6.0

0.5.0

What's Changed
* Create einsum operation by MilesCranmer in https://github.com/arogozhnikov/einops/pull/197
* Add flax layers by arogozhnikov in https://github.com/arogozhnikov/einops/pull/214
* Add oneflow backend by arogozhnikov in https://github.com/arogozhnikov/einops/pull/181
* Add oneflow backend by rentainhe in https://github.com/arogozhnikov/einops/pull/180
* Fix wrong error message by arogozhnikov in https://github.com/arogozhnikov/einops/pull/196
* Clarify documentation re. default bias on EinMix by maxeonyx in https://github.com/arogozhnikov/einops/pull/201
* corrected spelling mistake: einsops -> einops by cs-mshah in https://github.com/arogozhnikov/einops/pull/205
* add mean-reduction for bfloat16, fix 206 by arogozhnikov in https://github.com/arogozhnikov/einops/pull/209
* add py.typed (adopt PEP 561) by arogozhnikov in https://github.com/arogozhnikov/einops/pull/211
* Delete tensorflow-specific readme file by arogozhnikov in https://github.com/arogozhnikov/einops/pull/212
* Adopt pypa/hatch by arogozhnikov in https://github.com/arogozhnikov/einops/pull/213


New Contributors
* rentainhe made their first contribution in https://github.com/arogozhnikov/einops/pull/180
* MilesCranmer made their first contribution in https://github.com/arogozhnikov/einops/pull/197
* maxeonyx made their first contribution in https://github.com/arogozhnikov/einops/pull/201
* cs-mshah made their first contribution in https://github.com/arogozhnikov/einops/pull/205

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.4.1...v0.5.0

0.4.1

What's Changed
* fix numpy dependency problem by lucidrains in https://github.com/arogozhnikov/einops/pull/176

New Contributors
* lucidrains made their first contribution in https://github.com/arogozhnikov/einops/pull/176

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.4.0...v0.4.1

0.4.0

Main Changes

- torch.jit.script is supported (in addition to previous torch.jit.trace)
- EinMix (swiss-knife for next-gen MLPs) is added. A much-improved einsum/linear layer is now available.
- einops.repeat in torch does not create copy when possible

Detailed PRs

* Update documentation by arogozhnikov in https://github.com/arogozhnikov/einops/pull/137
* Multiple updates in docs, add Rearrange layer to torch test by arogozhnikov in https://github.com/arogozhnikov/einops/pull/138
* Add support for torch scripting of einops layers by arogozhnikov in https://github.com/arogozhnikov/einops/pull/139
* Introduce EinMix - swiss-knife for next-gen MLPs by arogozhnikov in https://github.com/arogozhnikov/einops/pull/142
* Docs improvements: wording, visual style, EinMix by arogozhnikov in https://github.com/arogozhnikov/einops/pull/143
* Move docs to a separate folder by arogozhnikov in https://github.com/arogozhnikov/einops/pull/144
* Type hinting + add testing for EinMix composition/decomposition by arogozhnikov in https://github.com/arogozhnikov/einops/pull/154
* Reject repeated axes in parse_shape by dmitriy-serdyuk in https://github.com/arogozhnikov/einops/pull/159
* Enable ellipsis in patterns for parse_shape. by dmitriy-serdyuk in https://github.com/arogozhnikov/einops/pull/162

New Contributors
* dmitriy-serdyuk made their first contribution in https://github.com/arogozhnikov/einops/pull/159

**Full Changelog**: https://github.com/arogozhnikov/einops/compare/v0.3.2...v0.4.0

0.3.2

- documentation and domain (75, 76, 77, 79, 81), thanks to cgarciae
- typos and spellcheck (thank ollema and GarrettMooney )
- moved away from keras to tf.keras
- adjustments to tutorials and testing
- other minor improvements

0.3

- new operation: `repeat` (includes repeat/tiling logic, copying along a new dimension)
- anonymous axes (specified by their length not name) are allowed:
python
grayscale = reduce(image, 'h w 3 -> h w', 'mean')
image_with_identical_channels = repeat(grayscale, 'h w -> h w 3')

- 1 can be used to refer to all dimensions of length 1
- reduced restrictions on axes names: almost any python identified can be an axis name now
- reduction can be provided with callable not string
- tutorials were slightly updated to include these changes
- code in kernel undergone refactoring, and now more documented
- support: `keras` layers are deprecated in favor of `tf.keras` layers
- experimental layer introduced: WeightedEinsum (RFC: 71 )

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.