improved restructure adjoint
This commit is contained in:
parent
85c39e2309
commit
089ec0832c
|
@ -246,6 +246,10 @@ function _restructure(m, xs)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@adjoint function _restructure(m, xs)
|
||||||
|
_restructure(m, xs), dm -> (nothing,destructure(dm)[1])
|
||||||
|
end
|
||||||
|
|
||||||
"""
|
"""
|
||||||
destructure(m)
|
destructure(m)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue