rm ZeroType
This commit is contained in:
parent
e97d61f257
commit
d00f833c17
@ -259,7 +259,6 @@ function CrossCor(w::AbstractArray{T,N}, b::Union{Number, AbstractVector{T}}, σ
|
|||||||
stride = expand(Val(N-2), stride)
|
stride = expand(Val(N-2), stride)
|
||||||
pad = expand(Val(2*(N-2)), pad)
|
pad = expand(Val(2*(N-2)), pad)
|
||||||
dilation = expand(Val(N-2), dilation)
|
dilation = expand(Val(N-2), dilation)
|
||||||
b = b isa Nothing ? ZeroType((size(w, ndims(w)), )) : b
|
|
||||||
return CrossCor(σ, w, b, stride, pad, dilation)
|
return CrossCor(σ, w, b, stride, pad, dilation)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -139,7 +139,6 @@ function throttle(f, timeout; leading=true, trailing=false)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@jit ...
|
@jit ...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user