Searched refs:decorator_name (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/python/util/ |
D | tf_decorator.py | 68 decorator_name=None, argument 85 if decorator_name is None: 88 decorator_name = getattr(frame, 'name', frame[2]) # Caller's name 89 decorator = TFDecorator(decorator_name, target, decorator_doc, 221 decorator_name, argument 226 self._decorator_name = decorator_name 253 def decorator_name(self): member in TFDecorator
|
D | tf_decorator_test.py | 30 def test_tfdecorator(decorator_name, decorator_doc=None): argument 33 return tf_decorator.TFDecorator(decorator_name, target, decorator_doc) 119 test_function).decorator_name) 205 self.assertEqual('test decorator name', decorator.decorator_name) 245 self.assertEqual('test_decorator_name', decorator.decorator_name) 317 self.assertEqual('decorator 1', decorators[0].decorator_name) 319 decorators[1].decorator_name) 320 self.assertEqual('decorator 3', decorators[2].decorator_name) 328 decorators[0].decorator_name)
|
D | decorator_utils.py | 117 def validate_callable(func, decorator_name): argument 123 func, decorator_name, decorator_name))
|
D | tf_contextlib_test.py | 82 self.assertEqual('contextmanager', decorators[0].decorator_name)
|
D | tf_inspect_test.py | 31 def test_decorator(decorator_name, decorator_doc=None): argument 34 return tf_decorator.TFDecorator(decorator_name, target, decorator_doc)
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 196 def decorator_name(self, nodelist): member in Transformer 217 funcname = self.decorator_name(nodelist[1][1:])
|