Skip to content

Allow duplicate names of reduced/repeated dims #36

@AntonOresten

Description

@AntonOresten

If I want to do k inner repeats along two dims, currently I'd do:

repeat(x, einops"L1 L2 -> (k2 L1) (k2 L2)", k1=k, k2=k)

But it would make sense if one could write:

repeat(x, einops"L1 L2 -> (k L1) (k L2)", k=k)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions