Skip to content

Numba backend does not deepcopy shared outputs #50

Closed
@ricardoV94

Description

@ricardoV94

Please describe the purpose of filing this issue

import aesara
import aesara.tensor as at

x = aesara.shared(0, name="x")

f = aesara.function([], x, mode=None)
f().itemset(2)
assert x.get_value() == 0  # Fine

f = aesara.function([], x, mode="NUMBA")
f().itemset(2)
assert x.get_value() == 0  # AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnumba

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions