Skip to content

Commit f65d514

Browse files
committed
extra when not indented
1 parent 409c11e commit f65d514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function _layer_show(io::IO, layer, indent::Int=0)
5757
printstyled(io, "# ", underscorise(sum(length, params(layer))), " parameters"; color=:light_black)
5858
nonparam = _childarray_sum(length, layer) - sum(length, params(layer))
5959
if nonparam > 0
60-
printstyled(io, ", plus ", underscorise(nonparam); color=:light_black)
60+
printstyled(io, ", plus ", underscorise(nonparam), indent==0 ? " non-trainable" : ""; color=:light_black)
6161
end
6262
_nan_show(io, params(layer))
6363
end

0 commit comments

Comments
 (0)