Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Dtf_decorator.py63 decorator_name=None, argument
80 if decorator_name is None:
81 decorator_name = inspect.currentframe().f_back.f_code.co_name
82 decorator = TFDecorator(decorator_name, target, decorator_doc,
230 decorator_name, argument
235 self._decorator_name = decorator_name
264 def decorator_name(self): member in TFDecorator
Dtf_decorator_test.py26 def test_tfdecorator(decorator_name, decorator_doc=None): argument
29 return tf_decorator.TFDecorator(decorator_name, target, decorator_doc)
115 test_function).decorator_name)
211 self.assertEqual('test decorator name', decorator.decorator_name)
251 self.assertEqual('test_decorator_name', decorator.decorator_name)
323 self.assertEqual('decorator 1', decorators[0].decorator_name)
325 decorators[1].decorator_name)
326 self.assertEqual('decorator 3', decorators[2].decorator_name)
334 decorators[0].decorator_name)
Ddecorator_utils.py125 def validate_callable(func, decorator_name): argument
131 func, decorator_name, decorator_name))
Dtf_contextlib_test.py78 self.assertEqual('contextmanager', decorators[0].decorator_name)
Dtf_should_use.py260 decorator_name='should_use_result',
Dmodule_wrapper.py62 return any(d.decorator_name == 'deprecated' for d in decorators)
Dtf_inspect_test.py27 def test_decorator(decorator_name, decorator_doc=None): argument
30 return tf_decorator.TFDecorator(decorator_name, target, decorator_doc)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.__internal__.decorator.pbtxt5 …argspec: "args=[\'target\', \'decorator_func\', \'decorator_name\', \'decorator_doc\', \'decorator…
/external/python/cpython2/Lib/compiler/
Dtransformer.py196 def decorator_name(self, nodelist): member in Transformer
217 funcname = self.decorator_name(nodelist[1][1:])
/external/tensorflow/tensorflow/python/eager/
Ddef_function.py1641 decorator_name="tf.function",