Home
last modified time | relevance | path

Searched refs:getcallargs (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py613 self.assertEqual({}, tf_inspect.getcallargs(empty))
622 tf_inspect.getcallargs(func, 0, **kwargs), {
630 tf_inspect.getcallargs(func, 0, **kwargs), {
642 self.assertEqual({'a': 5}, tf_inspect.getcallargs(func, 5))
649 self.assertEqual({'a': 10, 'b': 20}, tf_inspect.getcallargs(func, 10, 20))
656 self.assertEqual({'a': 5}, tf_inspect.getcallargs(func, a=5))
663 self.assertEqual({'a': 6, 'b': 7}, tf_inspect.getcallargs(func, a=6, b=7))
670 self.assertEqual({'a': 13}, tf_inspect.getcallargs(func))
677 self.assertEqual({'a': 1}, tf_inspect.getcallargs(func, 1))
684 self.assertEqual({'a': 5, 'b': 2}, tf_inspect.getcallargs(func, 5))
[all …]
Ddeprecation.py508 named_args = tf_inspect.getcallargs(func, *args, **kwargs)
590 named_args = tf_inspect.getcallargs(func, *args, **kwargs)
Dtf_inspect.py274 def getcallargs(*func_and_positional, **named): function
/external/tensorflow/tensorflow/python/autograph/converters/
Ddirectives.py69 call_args = tf_inspect.getcallargs(function, *args, **kwds)
/external/python/cpython2/Doc/library/
Dinspect.rst526 .. function:: getcallargs(func[, *args][, **kwds])
537 >>> from inspect import getcallargs
540 >>> getcallargs(f, 1, 2, 3)
542 >>> getcallargs(f, a=2, x=4)
544 >>> getcallargs(f)
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py260 def getcallargs(*func_and_positional, **named): function
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py631 callargs = tf_inspect.getcallargs(f, *args, **kwargs)
633 callargs = tf_inspect.getcallargs(f, *args)
/external/python/cpython3/Doc/library/
Dinspect.rst1034 .. function:: getcallargs(func, /, *args, **kwds)
1045 >>> from inspect import getcallargs
1048 >>> getcallargs(f, 1, 2, 3) == {'a': 1, 'named': {}, 'b': 2, 'pos': (3,)}
1050 >>> getcallargs(f, a=2, x=4) == {'a': 2, 'named': {'x': 4}, 'b': 1, 'pos': ()}
1052 >>> getcallargs(f)
/external/python/cpython2/Lib/
Dinspect.py904 def getcallargs(func, *positional, **named): function
/external/autotest/frontend/afe/
Drpc_utils.py1196 callargs = inspect.getcallargs(func, *args, **kwargs)
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst259 Add ``inspect.getcallargs()``, which binds arguments to a function like a
D2.7.2rc1.rst602 Fix inspect.getcallargs on functions that take only keyword arguments.
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1311 * New function: the :mod:`inspect` module's :func:`~inspect.getcallargs`
1316 >>> from inspect import getcallargs
1319 >>> getcallargs(f, 1, 2, 3)
1321 >>> getcallargs(f, a=2, x=4)
1323 >>> getcallargs(f)
/external/python/cpython3/Doc/whatsnew/
D2.7.rst1326 * New function: the :mod:`inspect` module's :func:`~inspect.getcallargs`
1331 >>> from inspect import getcallargs
1334 >>> getcallargs(f, 1, 2, 3)
1336 >>> getcallargs(f, a=2, x=4)
1338 >>> getcallargs(f)
D3.5.rst2330 :func:`~inspect.getcallargs`, and :func:`~inspect.formatargspec` functions are
/external/python/cpython3/Lib/test/
Dtest_inspect.py1638 inspect.getcallargs(f5)
1645 inspect.getcallargs(f6)
/external/python/cpython3/Lib/
Dinspect.py1366 def getcallargs(func, /, *positional, **named): function
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst4467 Fix inspect.getcallargs() to raise correct TypeError for missing
4477 Fix inspect.getcallargs() to fail correctly if more than 3 arguments are
/external/python/cpython3/Misc/
DHISTORY2062 - Issue #20816: Fix inspect.getcallargs() to raise correct TypeError for
2065 - Issue #20817: Fix inspect.getcallargs() to fail correctly if more
2893 - Issue #20108: Avoid parameter name clash in inspect.getcallargs().
9863 - Issue #11256: Fix inspect.getcallargs on functions that take only keyword