Multi-arguments mapslices

I think you can solve this using LazyArrays.jl:

using LazyArrays
reduce(+, @~(A.*B), dims=1,init=0.0)

For reference, I am linking a few related topics: