Need more clear documentation regarding cg.backward() and sgd.update() connection
Open
enhancement
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 701
- PR merge metrics
- No merged PRs in 30d
Description
If I renew the computation graph and perform cg.forward() and cg.backward() after each sentence but perform the sgd.update() after say 10 sentences. Will the update be according to all of the sentences or just the last one i.e. are the gradients computed from the backward() step stored somewhere else or are they dependent on the computation graph?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.