Skip to content

Change space_elem == other behavior? #1249

@kohr-h

Description

@kohr-h

We differ from Numpy in the way we interpret ==. Our use case has quite limited usability, and Numpy users will be surprised by the interpretation.
Another issue that comes with this difference is our current inability to do things like x[x > 0] = 1 or so, which would be nice to have. Then, of course, == cannot be an exception.

Question: How about we change our tensors to behave like Numpy arrays in that respect?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions