| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
They don't make sense in the open source repository.
PiperOrigin-RevId: 183140889
|
|
|
|
|
|
|
|
|
|
|
| |
#6268
This CL does the following:
(1) Adds TF_AddGradients function to C_API which adds gradient nodes for the specified inputs.
(2) Adds internal constructor for Scope, need to create a scope from an existing graph in the c_api.
(3) Adds constructor for AddSymbolicGradients that assumes OnesLike when grad_inputs aren't provided.
(4) Improves error message when gradients aren't provided.
Change: 153092774
|
|
|
|
| |
Change: 144857401
|
|
|
|
| |
Change: 144780716
|
|
|
|
| |
Change: 144776821
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch:
- Updates // comments to ///. I manually reverted some comments that shouldn't be docs (e.g. TODOs), but may have missed some.
- Indents code blocks so they get formatted as such in the docs.
- Removes /* */ comments from example code since it messes up Doxygen.
- Puts a space between {{ and }} since it messes up devsite.
- Adds some // START_SKIP_DOXYGEN and // END_SKIP_DOXYGEN comments for functions that aren't part of the public API (incomplete)
This will likely require further small fixups, but this gets something to be generated.
Change: 144749351
|
|
|
|
|
|
| |
*) Adds support for StopGradient.
*) Adds Identity gradient function.
Change: 132688186
|
|
Adds a couple unit tests (more unit tests to come, once gradient functions for more ops are added).
Change: 130521199
|