# Flux.params does not recognize parameters with \`x -\> layer(x)\` syntax

**URL:** <https://discourse.julialang.org/t/flux-params-does-not-recognize-parameters-with-x-layer-x-syntax/46832>\
**Category:** Machine Learning\
**Tags:** flux\
**Created:** [September 18, 2020, 9:37am UTC](https://discourse.julialang.org/t/flux-params-does-not-recognize-parameters-with-x-layer-x-syntax/46832 "2020-09-18T09:37:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:10am UTC](https://discourse.julialang.org/t/flux-params-does-not-recognize-parameters-with-x-layer-x-syntax/46832/5 "2020-09-18T11:10:26Z")

</div>

Thanks @tomerarnon, it works!  
(updated Julia to version 1.5.1 to make your code working).

I will link your answer to the other issue.

---

_[View the full topic](https://discourse.julialang.org/t/flux-params-does-not-recognize-parameters-with-x-layer-x-syntax/46832)._
