Flux: concatenate layers

As @tomerarnon suggested in the answer to this question, the solution proposed here doesn’t work properly. A workaround is to use the Concat struct.