Skip to content

Enforce dim tags to be unique in tensor #632

@albertz

Description

@albertz

The order of axes should never matter.

But when a single dim tag can occur multiple times in a tensor (Data), it does matter. E.g. for operations like SoftmaxOverSpatialLayer on some input [B,T,T].

You can get such tensor e.g. via DotLayer.

We should disallow this, so that the order of axes will not matter.

The user explicitly would need to change one dim tag before to some new dim tag (e.g. via #633 or #589).

This would be helpful for #391.

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