Simplify the template mechanism by specifying templates using multi-line strings...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 25 Jan 2018 18:36:25 +0000 (10:36 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 25 Jan 2018 18:39:58 +0000 (10:39 -0800)
commit949dd29d3a8bdc21328c9e94721b344310686eab
treeee5748ef149df19e4197d1720ac31ffb304b3d46
parentf8adc061e8c1134082e8716725c7f1899917d340
Simplify the template mechanism by specifying templates using multi-line strings instead of functions. This loses the syntax verification on templates, but it avoids the clutter of lint overrides and the duplication of parameter names, so things are more readable.

Addresses #16318

PiperOrigin-RevId: 183260854
tensorflow/contrib/py2tf/converters/break_canonicalization.py
tensorflow/contrib/py2tf/converters/builtin_functions.py
tensorflow/contrib/py2tf/converters/call_trees.py
tensorflow/contrib/py2tf/converters/continue_canonicalization.py
tensorflow/contrib/py2tf/converters/control_flow.py
tensorflow/contrib/py2tf/converters/for_canonicalization.py
tensorflow/contrib/py2tf/converters/side_effect_guards.py
tensorflow/contrib/py2tf/pyct/templates.py
tensorflow/contrib/py2tf/pyct/templates_test.py