Searched refs:decorator_name (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/python/util/ |
D | tf_decorator.py | 63 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
|
D | tf_decorator_test.py | 26 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)
|
D | decorator_utils.py | 125 def validate_callable(func, decorator_name): argument 131 func, decorator_name, decorator_name))
|
D | tf_contextlib_test.py | 78 self.assertEqual('contextmanager', decorators[0].decorator_name)
|
D | tf_should_use.py | 260 decorator_name='should_use_result',
|
D | module_wrapper.py | 62 return any(d.decorator_name == 'deprecated' for d in decorators)
|
D | tf_inspect_test.py | 27 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/ |
D | tensorflow.__internal__.decorator.pbtxt | 5 …argspec: "args=[\'target\', \'decorator_func\', \'decorator_name\', \'decorator_doc\', \'decorator…
|
/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:])
|
/external/tensorflow/tensorflow/python/eager/ |
D | def_function.py | 1641 decorator_name="tf.function",
|