diff options
author | 2018-03-02 08:20:27 -0800 | |
---|---|---|
committer | 2018-03-02 08:24:35 -0800 | |
commit | 60740a489475365815c50d5b0d3c352d420454ab (patch) | |
tree | db2f9e79decc64a8e32fd76a216f6fee9a98497a /CODEOWNERS | |
parent | 2d3e25245ec4dc2b791212b65b17a7ff4051dfe3 (diff) |
Eliminate the creation of unnecessary read ops when working with ResourceVariables.
In particular:
1. Don't create additional read ops when creating a ResourceVariable from a VariableDef proto.
2. Expose the ability to assign a ResourceVariable without reading & returning the new value.
3. Colocating with a ResourceVariable's ".op" property eliminates the creation of additional read ops.
4. Savers can read a variable's value using the _graph_element property, since these reads don't need control dependencies.
This makes the visualization of graphs on TensorBoard much nicer.
PiperOrigin-RevId: 187622122
Diffstat (limited to 'CODEOWNERS')
0 files changed, 0 insertions, 0 deletions