Skip to content

Commit

Permalink
log output removed
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdominik committed Oct 27, 2023
1 parent cbf7f8d commit c100764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/layers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,8 @@ function (l::Pad)(x)
pdims = zeros(Int, nd)
pdims[1:length(p)] .= p

println("pads is $pdims")

@show siz = size(x) .+ (2 .* pdims)
@show core = Tuple( (1+pdims[i]) : (size(x,i)+pdims[i]) for i in 1:nd)
siz = size(x) .+ (2 .* pdims)
core = Tuple( (1+pdims[i]) : (size(x,i)+pdims[i]) for i in 1:nd)

padded = fill!(similar(x, siz...), value)
padded[core...] = x
Expand Down
Binary file modified test/save_lenet.jld2
Binary file not shown.

0 comments on commit c100764

Please sign in to comment.