Home
last modified time | relevance | path

Searched refs:decorated (Results 1 – 25 of 104) sorted by relevance

12345

/external/tensorflow/tensorflow/python/util/
Dtf_decorator_test.py192 decorated = tf_decorator.make_decorator(test_function, test_wrapper)
193 decorator = getattr(decorated, '_tf_decorator')
197 decorated = tf_decorator.make_decorator(test_function, test_wrapper)
198 wrapped_attr = getattr(decorated, '__wrapped__')
202 decorated = tf_decorator.make_decorator(test_function, test_wrapper,
204 decorator = getattr(decorated, '_tf_decorator')
208 decorated = tf_decorator.make_decorator(
210 decorator = getattr(decorated, '_tf_decorator')
215 decorated = tf_decorator.make_decorator(test_function, test_wrapper)
216 self.assertTrue(decorated.foobar)
[all …]
/external/tensorflow/tensorflow/contrib/cmake/tools/
Dcreate_def_file.py144 decorated = candidates[idx]
145 if decorated in taken:
163 def_fp.write("\t" + decorated + "\n")
165 def_fp.write("\t" + decorated + " DATA\n")
166 taken.add(decorated)
/external/tensorflow/tensorflow/contrib/batching/python/ops/
Dbatch_ops.py104 def decorated(*args): # pylint: disable=missing-docstring function
132 return decorated
169 def decorated(*args): function
199 return decorated
/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized.py146 def decorated(self, model_type, *args, **kwargs): function
156 return decorated
253 def decorated(self, run_mode, *args, **kwargs): function
264 return decorated
/external/antlr/runtime/Python/tests/
Dt050decorate.g8 def decorated(self, *args, **kwargs):
15 return decorated
/external/antlr/runtime/Python3/tests/
Dt050decorate.g8 def decorated(self, *args, **kwargs):
15 return decorated
/external/tensorflow/tensorflow/tools/def_file_filter/
Ddef_file_filter.py.tpl128 # We compare on undname but use the decorated name from candidates.
132 decorated = candidates[idx]
133 if decorated in taken:
151 def_fp.write("\t" + decorated + "\n")
153 def_fp.write("\t" + decorated + " DATA\n")
154 taken.add(decorated)
/external/antlr/runtime/Cpp/tests/
Dt050decorate.g21 def decorated(self, *args, **kwargs):
28 return decorated
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py967 def decorated(self, *args, **kwargs): function
1001 return decorated
1011 def decorated(*args, **kwds): function
1030 return tf_decorator.make_decorator(f, decorated)
1053 def decorated(*args, **kwds): function
1063 return decorated
1100 def decorated(self, *args, **kwargs): function
1107 return decorated
1151 def decorated(self, *args, **kwargs): function
1157 return decorated
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py68 def decorated(metric_obj, *args, **kwargs): function
76 return tf_decorator.make_decorator(update_state_fn, decorated)
98 def decorated(_, *args): function
126 return tf_decorator.make_decorator(result_fn, decorated)
/external/tensorflow/tensorflow/python/eager/
Dbackprop.py360 def decorated(*args, **kwds): function
366 return decorated
457 def decorated(*args, **kwds): function
466 return decorated
505 def decorated(*args, **kwds): function
539 return decorated
Ddef_function.py968 def decorated(inner_function): function
984 return decorated(func)
993 return decorated
/external/python/cpython3/Doc/howto/
Dsorting.rst157 * First, the initial list is decorated with new values that control the sort order.
159 * Second, the decorated list is sorted.
166 >>> decorated = [(student.grade, i, student) for i, student in enumerate(student_objects)]
167 >>> decorated.sort()
168 >>> [student for grade, i, student in decorated] # undecorate
176 decorated list, but including it gives two benefits:
182 decorated tuples will be determined by at most the first two items. So for
/external/python/cpython3/Lib/test/
Dtest_sys_settrace.py580 decorated=False): argument
585 self.firstLine = None if decorated else self.code.co_firstlineno
648 event='line', decorated=False): argument
649 tracer = JumpTracer(func, jumpFrom, jumpTo, event, decorated)
661 event='line', decorated=False): argument
662 tracer = JumpTracer(func, jumpFrom, jumpTo, event, decorated)
681 error=error, event=event, decorated=True)
693 error=error, event=event, decorated=True)
/external/python/cpython2/Doc/howto/
Dsorting.rst168 * First, the initial list is decorated with new values that control the sort order.
170 * Second, the decorated list is sorted.
177 >>> decorated = [(student.grade, i, student) for i, student in enumerate(student_objects)]
178 >>> decorated.sort()
179 >>> [student for grade, i, student in decorated] # undecorate
187 decorated list, but including it gives two benefits:
193 decorated tuples will be determined by at most the first two items. So for
/external/deqp-deps/glslang/Test/
Dprecise.tesc78 b = b + c; // b + c should be decorated with 'noContraction'
79 result = fma(a, b, c); // fma() should not be decorated with 'noContradtion'
/external/python/cpython2/Lib/test/
Dtest_sys_settrace.py486 decorated=False): argument
491 self.firstLine = None if decorated else self.code.co_firstlineno
554 event='line', decorated=False): argument
555 tracer = JumpTracer(func, jumpFrom, jumpTo, event, decorated)
574 error=error, event=event, decorated=True)
/external/python/mock/mock/tests/
Dtestpatch.py1813 decorated = patch('sys.modules')(function)
1814 self.assertIs(decorated.__wrapped__, function)
1818 decorated = patch('sys.modules')(function)
1819 decorated = patch('sys.modules')(decorated)
1820 self.assertIs(decorated.__wrapped__, function)
1824 decorated = patch.object(sys, 'modules')(function)
1825 self.assertIs(decorated.__wrapped__, function)
1829 decorated = patch.dict('sys.modules')(function)
1830 self.assertIs(decorated.__wrapped__, function)
1834 decorated = patch.multiple('sys', modules={})(function)
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcustom_gradient.py157 def decorated(*args, **kwargs): function
164 return tf_decorator.make_decorator(f, decorated)
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dclass_definition.py28 elif (statement.type == symbol.decorated and
Dfunction_definition.py28 elif (statement.type == symbol.decorated and
/external/python/cpython3/Include/
Dgraminit.h8 #define decorated 261 macro
/external/python/cpython2/Include/
Dgraminit.h8 #define decorated 261 macro
/external/python/cpython2/Lib/
Dsymbol.py18 decorated = 261 variable
/external/python/cpython3/Lib/
Dsymbol.py18 decorated = 261 variable

12345