pool(w)不能处理五维信息。用Knet库

julia> dims=(3, 3, 3, 1, 64)
(3, 3, 3, 1, 64)

julia> w=gaussian(dims)
3×3×3×1×64 Array{Float64,5}:

julia> pool(w)
ERROR: MethodError: no method matching pool(::Array{Float64,5})
Closest candidates are:
pool(::Array{Float64,4}; window, padding, stride, mode, maxpoolingNanOpt, alpha, handle) at /home/users/xdlan/.julia/packages/Knet/rKugL/src/conv.jl:526
pool(::Array{Float32,4}; window, padding, stride, mode, maxpoolingNanOpt, alpha, handle) at /home/users/xdlan/.julia/packages/Knet/rKugL/src/conv.jl:526
pool(::KnetArray{T,N} where N; handle, alpha, o...) where T at /home/users/xdlan/.julia/packages/Knet/rKugL/src/conv.jl:127
...
Stacktrace:
[1] top-level scope at none:0