# Flux: concatenate layers

**URL:** <https://discourse.julialang.org/t/flux-concatenate-layers/18877>\
**Category:** Machine Learning\
**Created:** [December 21, 2018, 4:02am UTC](https://discourse.julialang.org/t/flux-concatenate-layers/18877 "2018-12-21T04:02:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tgrassi](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@tgrassi](https://discourse.julialang.org/u/tgrassi)\
**Post date:** [September 18, 2020, 11:13am UTC](https://discourse.julialang.org/t/flux-concatenate-layers/18877/8 "2020-09-18T11:13:45Z")

</div>

As @tomerarnon suggested in [the answer to this question](https://discourse.julialang.org/t/flux-params-does-not-recognize-parameters-with-x-layer-x-syntax/46832/5), the solution proposed here doesn’t work properly. A workaround is to use the `Concat` struct.

---

_[View the full topic](https://discourse.julialang.org/t/flux-concatenate-layers/18877)._
