Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pluskid/Mocha.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Dec 20, 2014
2 parents 21ac0bb + 443f427 commit e07643f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function check_bp_topology(net::Net)
# double check the dict we built
for i = 1:length(net.layers)
layer = net.layers[i]
if can_do_bp(layer) && !is_sink(layer)
if can_do_bp(layer) && !is_sink(layer) && !is_inplace(layer)
for j = 1:length(layer.tops)
@assert isa(net.states[i].blobs_diff[j], NullBlob) == !bp_needed[layer.tops[j]]
end
Expand Down

0 comments on commit e07643f

Please sign in to comment.