Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Update parameter update doc. #136

Merged
merged 7 commits into from
Mar 8, 2019
Merged

Update parameter update doc. #136

merged 7 commits into from
Mar 8, 2019

Conversation

dan-zheng
Copy link
Member

Update "Parameter Update" documentation using KeyPathIterable and
Differentiable.

Add "evolution from previous design" section.

Update "Parameter Update" documentation using `KeyPathIterable` and
`Differentiable`.

Add "evolution from previous design" section.
@dan-zheng dan-zheng requested a review from rxwei March 8, 2019 00:33
@rxwei
Copy link
Contributor

rxwei commented Mar 8, 2019

LGTM overall. How about a different name that mentions "optimizers" somewhere?

"Hierarchical parameter iteration and optimizations"?

Change title to "Hierarchical parameter iteration and optimization".
@rxwei
Copy link
Contributor

rxwei commented Mar 8, 2019

Don't forget to also add a link on README.

- Add end-to-end training + parameter optimization example.
- Fix broken/inconsistent code examples.
- Use `𝛁` to denote gradient values.
@dan-zheng
Copy link
Member Author

Don't forget to also add a link on README.

Done in bd94d00.
Added some other updates in b4907fc.
Ready for re-review!

}
```

We don't want to actually lower the for-loop or zip operation to TensorFlow (lowering wouldn't be straightforward or and lowered representation wouldn't be efficient). Instead, we want to fully unroll the loop into individual straight-line statements:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to actually lower the for-loop or zip operation to TensorFlow (lowering wouldn't be straightforward or and lowered representation wouldn't be efficient). Instead, we want to fully unroll the loop into individual straight-line statements:

Note: this efficiency concern was addressed later in the old version of this doc, but not in this updated version.

@dan-zheng dan-zheng merged commit 6ffb84a into master Mar 8, 2019
@rxwei rxwei deleted the parameter-update branch March 8, 2019 02:10
brettkoonce pushed a commit to brettkoonce/swift that referenced this pull request Mar 14, 2019
Couple of minor copy edits
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants