Skip to content

pt.flip doesn't handle negative axis correctly #1627

@ricardoV94

Description

@ricardoV94

Describe the issue:

It simply ignores them. We should use numpy normalize_axis_tuple, then we don't need the special line for integer axis either

Reproducable code example:

na

Error message:

na

PyTensor version information:

na

Context for the issue:

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions