Consolidate the builtin function overrides into a single module, and use a generic...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 27 Feb 2018 01:04:09 +0000 (17:04 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 27 Feb 2018 01:12:17 +0000 (17:12 -0800)
commit49d4e9233cebdff001ffcc2e3d703e815ba0a881
tree7ae23c98343d1d7e62a0dca9d93fd60cb3cec322
parente37a7ae2277a2a2f7b50ad5ef361e41c30edeb41
Consolidate the builtin function overrides into a single module, and use a generic `dynamic_builtin` function to dispatch between implementations. Use the generic dispatcher in the generated code.

PiperOrigin-RevId: 187104685
tensorflow/contrib/py2tf/converters/builtin_functions.py
tensorflow/contrib/py2tf/utils/BUILD
tensorflow/contrib/py2tf/utils/__init__.py
tensorflow/contrib/py2tf/utils/builtins.py [new file with mode: 0644]
tensorflow/contrib/py2tf/utils/builtins_test.py [new file with mode: 0644]
tensorflow/contrib/py2tf/utils/misc.py
tensorflow/contrib/py2tf/utils/misc_test.py
tensorflow/contrib/py2tf/utils/printing.py [deleted file]
tensorflow/contrib/py2tf/utils/printing_test.py [deleted file]