Skip to content

[tensor-shapes] Add abs to the DSL, at least for Flag[int] #5010

Description

@stroxler

Describe the Bug

We currently have some ugly if/else conditions, for example in diag / diagonal implementations, because of lack of abs.

Adding abs for Flag[int] should be simple and a good UX improvement. A more interesting question is whether it would be worth adding symbolic abs but I'm not planning to do that right now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tensor-shapesAnything related to tensor shape typing

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions