# Backpropagation Through Time

**URL:** <https://discourse.julialang.org/t/backpropagation-through-time/40822>\
**Category:** Machine Learning\
**Tags:** flux, zygote\
**Created:** [June 5, 2020, 4:29pm UTC](https://discourse.julialang.org/t/backpropagation-through-time/40822 "2020-06-05T16:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freddy\_Chua](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Freddy\_Chua](https://discourse.julialang.org/u/Freddy_Chua)\
**Post date:** [June 5, 2020, 4:29pm UTC](https://discourse.julialang.org/t/backpropagation-through-time/40822/1 "2020-06-05T16:29:37Z")

</div>

[![](https://global.discourse-cdn.com/julialang/original/3X/4/0/40e5f133c7913f6a37daffda3b28e49d82073bbf.jpeg "JuliaCon 2019 | Differentiate All The Things! | Mike Innes") ](https://www.youtube.com/watch?v=OcUXjk7DFvU&t=684)

Hi, I noted the used of “record” for BPTT for LSTM/Recurrence based Models. Is this in used? I don’t see it being documented anywhere, i also could not find it in the code.

How do we do BPTT?

---

<div class="post-metadata">

**Author:** ![Emmanuel-R8](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/emmanuel-r8/32/11839_2.png) [@Emmanuel-R8](https://discourse.julialang.org/u/Emmanuel-R8)\
**Post date:** [June 14, 2020, 10:50am UTC](https://discourse.julialang.org/t/backpropagation-through-time/40822/2 "2020-06-14T10:50:58Z")

</div>

Here’s a good article on Neural Differential Equations that might give some pointers. [Neural Differential Equations](https://arxiv.org/abs/1806.07366)
