Add a utility that can detect the class that defined a method. This is useful when...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 9 Apr 2018 20:24:03 +0000 (13:24 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 9 Apr 2018 20:27:06 +0000 (13:27 -0700)
commit36882e882c3de9be4381c266af6049b08fe2326c
treeae3395131d8ae24eebc4a5b48d3d5e167ca382a1
parent7aa1f1f57fa6851529c471da78b2e91e0aaab5c3
Add a utility that can detect the class that defined a method. This is useful when converting a e.g. a custom Keras model, to avoid recompiling the base model methods.

PiperOrigin-RevId: 192177117
tensorflow/contrib/autograph/pyct/inspect_utils.py
tensorflow/contrib/autograph/pyct/inspect_utils_test.py