inox.nn.einops¶
Einstein-like tensor operations
References
Einops: Clear and Reliable Tensor Manipulations with Einstein-like Notation (Rogozhnikov et al., 2022)
Classes¶
Descriptions¶
- class inox.nn.einops.Rearrange(pattern, **lengths)¶
Creates an axis rearrangement layer.
This module is a thin wrapper around
einops.rearrange.
- class inox.nn.einops.Reduce(pattern, reduction='sum', **lengths)¶
Creates an axis reduction layer.
This module is a thin wrapper around
einops.reduce.