Home
last modified time | relevance | path

Searched refs:owner_class (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion.py113 owner_class = None
130 owner_class = inspect_utils.getmethodclass(o)
131 if owner_class is not None:
132 if issubclass(owner_class, unittest.TestCase):
136 owner_class = inspect_utils.getdefiningclass(o, owner_class)
137 if is_whitelisted_for_graph(owner_class):
139 owner_class)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py179 def getdefiningclass(m, owner_class): argument
183 for superclass in owner_class.__bases__:
188 elif hasattr(m, '__self__') and m.__self__ == owner_class:
191 return owner_class