aesara icon indicating copy to clipboard operation
aesara copied to clipboard

Normalize negative constant indices

Open brandonwillard opened this issue 1 year ago • 0 comments

One thing we could also explore (separately) is converting constant negative indexes to positive indexes when the shape of the tensor is fixed. We know this at the Aesara level, but not necessarily after compilation.

Originally posted by @ricardoV94 in https://github.com/aesara-devs/aesara/issues/1150#issuecomment-1229222356 and https://github.com/aesara-devs/aesara/issues/1147

brandonwillard avatar Sep 07 '22 17:09 brandonwillard