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.py67 decorator_name=None, argument
84 if decorator_name is None:
85 decorator_name = inspect.currentframe().f_back.f_code.co_name
86 decorator = TFDecorator(decorator_name, target, decorator_doc,
234 decorator_name, argument
239 self._decorator_name = decorator_name
268 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)
215 self.assertEqual('test decorator name', decorator.decorator_name)
255 self.assertEqual('test_decorator_name', decorator.decorator_name)
327 self.assertEqual('decorator 1', decorators[0].decorator_name)
329 decorators[1].decorator_name)
330 self.assertEqual('decorator 3', decorators[2].decorator_name)
338 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_should_use.py264 decorator_name='should_use_result',
Dmodule_wrapper.py53 return any(d.decorator_name == 'deprecated' for d in decorators)
Dtf_inspect_test.py31 def test_decorator(decorator_name, decorator_doc=None): argument
34 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.py1616 decorator_name="tf.function",