Using tracked data creates global variables
dfdx opened this issue · comments
Andrei Zhabinski commented
g = ExGraph(:(sum(W * x + b)); ctx=Dict(:method => :track), W=rand(3,4), x=rand(4,5), b=rand(3))
print(W)
Andrei Zhabinski commented
The problem is in eval_tracked!
which evaluates expression in global scope.