diff --git a/src/layers/conv.jl b/src/layers/conv.jl index 0acf3551..d05dfe4d 100644 --- a/src/layers/conv.jl +++ b/src/layers/conv.jl @@ -259,7 +259,6 @@ function CrossCor(w::AbstractArray{T,N}, b::Union{Number, AbstractVector{T}}, σ stride = expand(Val(N-2), stride) pad = expand(Val(2*(N-2)), pad) dilation = expand(Val(N-2), dilation) - b = b isa Nothing ? ZeroType((size(w, ndims(w)), )) : b return CrossCor(σ, w, b, stride, pad, dilation) end diff --git a/src/utils.jl b/src/utils.jl index a12b59b7..246c30d7 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -139,7 +139,6 @@ function throttle(f, timeout; leading=true, trailing=false) end end - """ @jit ...