Skip to content

Get rid of pre-defined inplace Elemwise Operators? #808

Open
@ricardoV94

Description

@ricardoV94

Description

I don't think we're using this at all? The Elemwise InplaceOptimizer creates its own Ops (as it should), doesn't reuse these.

https://github.com/ricardoV94/pytensor/blob/f951743d9d5d68095416b5989d7889bac1779586/pytensor/tensor/inplace.py

They may be used for the Elemwise Inplace tests... but they could be created on demand by the tests. And I'm not sure it even makes sense to test inplace for every Op? It's not like anything changes for different Ops?

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