# Mixed input layer using Flux gives "ERROR: Mutating arrays is not supported"

**URL:** https://discourse.julialang.org/t/mixed-input-layer-using-flux-gives-error-mutating-arrays-is-not-supported/41595
**Category:** Machine Learning
**Tags:** flux
**Created:** [June 17, 2020, 2:06pm UTC](https://discourse.julialang.org/t/mixed-input-layer-using-flux-gives-error-mutating-arrays-is-not-supported/41595 "2020-06-17T14:06:59Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rakeshvar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rakeshvar/32/3613_2.png) [@rakeshvar](https://discourse.julialang.org/u/rakeshvar)
#### Post date: [December 7, 2020, 5:08am UTC](https://discourse.julialang.org/t/mixed-input-layer-using-flux-gives-error-mutating-arrays-is-not-supported/41595/2 "2020-12-07T05:08:45Z")

</div>

Did you find any solution for this problem? Looks similar to this issue: [Gradient of a loss function : struggling to avoid arrays mutation - #3 by ChrisRackauckas](https://discourse.julialang.org/t/gradient-of-a-loss-function-struggling-to-avoid-arrays-mutation/45593/3)

---

_[View the full topic](https://discourse.julialang.org/t/mixed-input-layer-using-flux-gives-error-mutating-arrays-is-not-supported/41595)._
