add N
This commit is contained in:
parent
2ae3ad3b31
commit
214f71f492
@ -50,7 +50,8 @@ function Conv(w::AbstractArray{T,N}, b::Union{Number, AbstractVector{T}}, σ = i
|
|||||||
return Conv(σ, w, b, stride, pad, dilation)
|
return Conv(σ, w, b, stride, pad, dilation)
|
||||||
end
|
end
|
||||||
|
|
||||||
convweight(k::NTuple{N,Integer}, ch::Pair{<:Integer,<:Integer}; init = glorot_uniform) = init(k..., ch...)
|
convweight(k::NTuple{N,Integer}, ch::Pair{<:Integer,<:Integer};
|
||||||
|
init = glorot_uniform) where N = init(k..., ch...)
|
||||||
const convbias = zeros
|
const convbias = zeros
|
||||||
|
|
||||||
function Conv(k::NTuple{N,Integer}, ch::Pair{<:Integer,<:Integer}, σ = identity;
|
function Conv(k::NTuple{N,Integer}, ch::Pair{<:Integer,<:Integer}, σ = identity;
|
||||||
|
Loading…
Reference in New Issue
Block a user