Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/util/
Dtf_decorator_test.py159 decorated = tf_decorator.make_decorator(test_function, test_wrapper)
160 decorator = getattr(decorated, '_tf_decorator')
164 decorated = tf_decorator.make_decorator(test_function, test_wrapper)
165 wrapped_attr = getattr(decorated, '__wrapped__')
169 decorated = tf_decorator.make_decorator(test_function, test_wrapper,
171 decorator = getattr(decorated, '_tf_decorator')
175 decorated = tf_decorator.make_decorator(
177 decorator = getattr(decorated, '_tf_decorator')
186 decorated = tf_decorator.make_decorator(test_function, test_wrapper, '', '',
188 decorator = getattr(decorated, '_tf_decorator')
[all …]
Dtf_inspect_test.py321 decorated = tf_decorator.make_decorator(
334 }, tf_inspect.getcallargs(decorated, 4, c='goodbye'))
/external/tensorflow/tensorflow/contrib/cmake/tools/
Dcreate_def_file.py135 decorated = candidates[idx]
136 if decorated in taken:
154 def_fp.write("\t" + decorated + "\n")
156 def_fp.write("\t" + decorated + " DATA\n")
157 taken.add(decorated)
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt050decorate.g8 def decorated(self, *args, **kwargs):
15 return decorated
/external/tensorflow/tensorflow/python/eager/
Dbackprop.py534 def decorated(*args, **kwds): function
540 return decorated
630 def decorated(*args, **kwds): function
639 return decorated
674 def decorated(*args, **kwds): function
708 return decorated
Dcustom_gradient.py46 def decorated(*args, **kwargs): function
91 return tf_decorator.make_decorator(f, decorated)
/external/tensorflow/tensorflow/contrib/batching/python/ops/
Dbatch_ops.py106 def decorated(*args): function
136 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/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dutil.py14 def update_wrapper(decorated, fn): argument
15 decorated.__wrapped__ = fn
16 decorated.__name__ = fn.__name__
17 return decorated
/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/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dfunction_definition.py30 elif (statement.type == symbol.decorated and
Dclass_definition.py30 elif (statement.type == symbol.decorated and
/external/python/cpython2/Include/
Dgraminit.h8 #define decorated 261 macro
/external/python/cpython3/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
/external/python/cpython2/Doc/library/
Dfunctools.rst121 wrap the decorated function and return the wrapper. If the wrapper function is
138 ... print 'Calling decorated function'
148 Calling decorated function
/external/python/cpython2/Grammar/
DGrammar24 decorated: decorators (classdef | funcdef)
65 …pound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated
/external/python/cpython3/Grammar/
DGrammar17 decorated: decorators (classdef | funcdef | async_funcdef)
70 …f_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated | async_stmt
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt36 decorated: decorators (classdef | funcdef)
85 …pound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated
/external/python/cpython3/Lib/lib2to3/
DGrammar.txt36 decorated: decorators (classdef | funcdef | async_funcdef)
87 …f_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decorated | async_stmt
/external/python/cpython3/Doc/library/
Dfunctools.rst345 The original function decorated with ``@singledispatch`` is registered
390 wrap the decorated function and return the wrapper. If the wrapper function is
427 ... print('Calling decorated function')
437 Calling decorated function
Dcollections.abc.rst186 In CPython, generator-based coroutines (generators decorated with
204 In CPython, generator-based coroutines (generators decorated with
Dtyping.rst834 of ``@overload``-decorated definitions must be followed by exactly one
835 non-``@overload``-decorated definition (for the same function/method).
836 The ``@overload``-decorated definitions are for the benefit of the
838 non-``@overload``-decorated definition, while the latter is used at
840 a ``@overload``-decorated function directly will raise
872 This wraps the decorator with something that wraps the decorated
/external/python/cpython2/Lib/test/
Dtest_tempfile.py421 decorated = '"%s"' % sys.executable
424 decorated = sys.executable
426 retval = os.spawnl(os.P_WAIT, sys.executable, decorated, tester, v, fd)

1234