Skip to content

einops 0.8.2

Version history | Download JSON

  • PyPI https://pypi.org/project/einops/
    Repository https://github.com/arogozhnikov/einops

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 123
        "Any" : 6
        "Untyped" : 101
    • 56.1% coverage
    • 53.5% coverage (strict)
    • 230 typable
      • 123 typed
      • 101 untyped
      • 6 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 58
        "classes" : 139
        "other" : 6
    • 16 functions (+6 overloads)
      • 42 parameters
    • 21 classes
      • 56 methods (+0 overloads)
        • 83 parameters
      • 0 properties
    • 12 modules
      • 6 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
einops 0.0% 0.0% 0 0
einops.array_api 86.4% 86.4% 22 0
einops.einops 97.7% 88.6% 44 0
einops.layers 34.6% 26.9% 26 0
einops.layers.flax 46.4% 46.4% 28 0
einops.layers.keras 0.0% 0.0% 0 0
einops.layers.oneflow 25.0% 25.0% 16 0
einops.layers.paddle 25.0% 25.0% 16 0
einops.layers.tensorflow 16.0% 16.0% 25 0
einops.layers.torch 20.0% 20.0% 20 0
einops.packing 100.0% 100.0% 13 0
einops.parsing 80.0% 80.0% 20 0

Incomplete Annotations

einops.array_api (3 missing, 0 any)

Symbol Typable Typed Any
func repeat 4 3 0
func rearrange 4 3 0
func asnumpy 2 1 0

einops.einops (1 missing, 4 any)

Symbol Typable Typed Any
func reduce 5 5 1
func repeat 4 4 1
func rearrange 4 4 1
func asnumpy 2 2 1
meth TransformRecipe.init 8 7 0

einops.layers (17 missing, 2 any)

Symbol Typable Typed Any
meth RearrangeMixin.init 3 3 1
meth RearrangeMixin._apply_recipe 2 0 0
meth RearrangeMixin.getstate 1 0 0
meth RearrangeMixin.setstate 2 0 0
attr RearrangeMixin.pattern 1 0 0
attr RearrangeMixin.axes_lengths 1 0 0
meth ReduceMixin.init 4 3 1
meth ReduceMixin.repr 1 0 0
meth ReduceMixin._apply_recipe 2 0 0
meth ReduceMixin.getstate 1 0 0
meth ReduceMixin.setstate 2 0 0
attr ReduceMixin.pattern 1 0 0
attr ReduceMixin.reduction 1 0 0
attr ReduceMixin.axes_lengths 1 0 0

einops.layers.flax (15 missing, 0 any)

Symbol Typable Typed Any
meth Rearrange.setup 1 0 0
meth Rearrange.call 2 0 0
meth EinMix.setup 1 0 0
meth EinMix._create_parameters 5 0 0
meth EinMix._create_rearrange_layers 5 4 0
meth EinMix.call 2 0 0
meth Reduce.setup 1 0 0
meth Reduce.call 2 0 0

einops.layers.oneflow (12 missing, 0 any)

Symbol Typable Typed Any
meth Rearrange.forward 2 0 0
meth EinMix._create_parameters 5 0 0
meth EinMix._create_rearrange_layers 5 4 0
meth EinMix.forward 2 0 0
meth Reduce.forward 2 0 0

einops.layers.paddle (12 missing, 0 any)

Symbol Typable Typed Any
meth Rearrange.forward 2 0 0
meth EinMix._create_parameters 5 0 0
meth EinMix._create_rearrange_layers 5 4 0
meth EinMix.forward 2 0 0
meth Reduce.forward 2 0 0

einops.layers.tensorflow (21 missing, 0 any)

Symbol Typable Typed Any
meth Rearrange.build 2 0 0
meth Rearrange.call 2 0 0
meth Rearrange.get_config 1 0 0
meth EinMix._create_parameters 5 0 0
meth EinMix._create_rearrange_layers 5 4 0
meth EinMix.build 2 0 0
meth EinMix.call 2 0 0
meth EinMix.get_config 1 0 0
meth Reduce.build 2 0 0
meth Reduce.call 2 0 0
meth Reduce.get_config 1 0 0

einops.layers.torch (16 missing, 0 any)

Symbol Typable Typed Any
meth Rearrange.forward 2 0 0
meth Rearrange._apply_recipe 2 0 0
meth EinMix._create_parameters 5 0 0
meth EinMix._create_rearrange_layers 5 4 0
meth EinMix.forward 2 0 0
meth Reduce.forward 2 0 0
meth Reduce._apply_recipe 2 0 0

einops.parsing (4 missing, 0 any)

Symbol Typable Typed Any
meth ParsedExpression.init 4 3 0
meth AnonymousAxis.init 2 1 0
meth AnonymousAxis.repr 1 0 0
attr AnonymousAxis.value 1 0 0

Type-Ignore Comments

No type-ignore comments.