# Any equivalent in Lux.jl to torch.nn.Parameter?

**URL:** <https://discourse.julialang.org/t/any-equivalent-in-lux-jl-to-torch-nn-parameter/107200>\
**Category:** Machine Learning\
**Tags:** lux\
**Created:** [December 6, 2023, 8:06am UTC](https://discourse.julialang.org/t/any-equivalent-in-lux-jl-to-torch-nn-parameter/107200 "2023-12-06T08:06:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Post date:** [December 6, 2023, 8:06am UTC](https://discourse.julialang.org/t/any-equivalent-in-lux-jl-to-torch-nn-parameter/107200/1 "2023-12-06T08:06:38Z")

</div>

I want to know if there is any equivalent to PyTorch’s `torch.nn.Parameter` in Lux.jl. Thanks!

---

<div class="post-metadata">

**Author:** ![avikpal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/avikpal/32/6550_2.png) [@avikpal](https://discourse.julialang.org/u/avikpal)\
**Post date:** [December 13, 2023, 7:53pm UTC](https://discourse.julialang.org/t/any-equivalent-in-lux-jl-to-torch-nn-parameter/107200/2 "2023-12-13T19:53:24Z")

</div>

Answered this [here](https://github.com/LuxDL/Lux.jl/issues/464) for future reference.
