Add kwargs support to wrap_py_func. Also includes some fixes to the reference tests...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 22 Mar 2018 22:14:40 +0000 (15:14 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 22 Mar 2018 22:17:06 +0000 (15:17 -0700)
commit580d8c085a1ebcc5f5e6199e1542dbd56d3a42db
tree6237a161034262483c19c7f20346b2fafa63fdd4
parent63d46266ba5b2a513244e13321f76e7acd03aba3
Add kwargs support to wrap_py_func. Also includes some fixes to the reference tests and an actual test for wrapping NumPy function that uses kwargs.

PiperOrigin-RevId: 190133811
tensorflow/contrib/py2tf/converters/call_trees.py
tensorflow/contrib/py2tf/impl/api.py
tensorflow/contrib/py2tf/utils/py_func.py
tensorflow/contrib/py2tf/utils/py_func_test.py