Skip to content

Commit 8f60110

Browse files
committed
fixing demos WIP 2 + patch to RecursiveArrayTools copyto
1 parent 0213273 commit 8f60110

File tree

2 files changed

+31
-73
lines changed

2 files changed

+31
-73
lines changed

demos/DeepNeuralNetworkClassifier.ipynb

+27-73
Large diffs are not rendered by default.

src/arraypartition.jl

+4
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ end
3434
h::ProximalOperators.ProximableFunction,
3535
x::RecursiveArrayTools.ArrayPartition
3636
) = ProximalOperators.gradient!(y.x, h, x.x)
37+
38+
# fix to https://github.com/JuliaDiffEq/RecursiveArrayTools.jl/issues/68
39+
# possibly remove it once issue is resolved
40+
Base.copyto!(x::ArrayPartition, y::ArrayPartition) = x .= y

0 commit comments

Comments
 (0)