Home
last modified time | relevance | path

Searched refs:decorator_name (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dtf_decorator.py68 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
Dtf_decorator_test.py30 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)
Ddecorator_utils.py117 def validate_callable(func, decorator_name): argument
123 func, decorator_name, decorator_name))
Dtf_contextlib_test.py82 self.assertEqual('contextmanager', decorators[0].decorator_name)
Dtf_inspect_test.py31 def test_decorator(decorator_name, decorator_doc=None): argument
34 return tf_decorator.TFDecorator(decorator_name, target, decorator_doc)
/external/python/cpython2/Lib/compiler/
Dtransformer.py196 def decorator_name(self, nodelist): member in Transformer
217 funcname = self.decorator_name(nodelist[1][1:])