Commit Graph

5 Commits

Author SHA1 Message Date
Samuel Marks
17c5b631b9
[*.py,tensorflow/cc/framework/cc_op_gen.cc] Rename "Arguments:" to "Args:" 2020-12-22 09:24:04 +11:00
Edward Loper
77245d07d1 Add dispatch support to more Python APIs.
PiperOrigin-RevId: 311763060
Change-Id: Ib35371483aa083e245996508a82fd13d8ac43131
2020-05-15 11:03:18 -07:00
Francois Chollet
310465b783 Fix various links in Keras docstrings.
PiperOrigin-RevId: 306769967
Change-Id: I21491ccbe9679f34bbd4b28aa27c46c6ba01ac4e
2020-04-15 19:59:22 -07:00
Reed Wanderman-Milne
f0756e1c19 Various mixed precision doc improvements.
The primary changes are:
1. Use the >>> format for code samples. But I couldn't change the code in mixed_precision.py to use the >>> format, since an error is thrown if both the Keras mixed precision API and the graph rewrite API are used in the same process.
2. In the enable_mixed_precision_graph_rewrite docstring, compare the graph rewrite API with the Keras mixed precision API.
3. In the error message that occurs if you try to use both the graph rewrite and the Keras MP API, recommend the Keras API instead of the graph rewrite.
4. Add new sections to Policy docstring: "How a layer users its policy's variable dtype" and "How to write a layer that supports mixed precision and float64". The latter section might be more appropriate for the mixed precision guide, but the guide is already very long and its hard to fit in.

PiperOrigin-RevId: 298419101
Change-Id: I1936e1bcce401d02d4fdeb36b9866eb9cd40c421
2020-03-02 12:44:04 -08:00
Zhenyu Tan
c9bd0744ea MOve backend config related functions to a dedicated file.
Use backend epsilon if epsilon argument is None.

PiperOrigin-RevId: 229756902
2019-01-17 09:06:54 -08:00