update for flow
This commit is contained in:
parent
734b77e5eb
commit
10761a4bee
@ -53,7 +53,7 @@ function build_backward(body, x, params = [])
|
|||||||
haskey(Δs, :(self.$param)) || continue
|
haskey(Δs, :(self.$param)) || continue
|
||||||
ex = Δs[:(self.$param)]
|
ex = Δs[:(self.$param)]
|
||||||
ex = deref_params(ex)
|
ex = deref_params(ex)
|
||||||
thread!(back, @dvertex(accumulate!(:(self.$param), ex)))
|
thread!(back, @vtx(accumulate!(:(self.$param), ex)))
|
||||||
end
|
end
|
||||||
ex = Δs[x]
|
ex = Δs[x]
|
||||||
ex = deref_params(ex)
|
ex = deref_params(ex)
|
||||||
|
Loading…
Reference in New Issue
Block a user