Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py595 self.assertEqual({}, tf_inspect.getcallargs(empty))
602 self.assertEqual({'a': 5}, tf_inspect.getcallargs(func, 5))
609 self.assertEqual({'a': 10, 'b': 20}, tf_inspect.getcallargs(func, 10, 20))
616 self.assertEqual({'a': 5}, tf_inspect.getcallargs(func, a=5))
623 self.assertEqual({'a': 6, 'b': 7}, tf_inspect.getcallargs(func, a=6, b=7))
630 self.assertEqual({'a': 13}, tf_inspect.getcallargs(func))
637 self.assertEqual({'a': 1}, tf_inspect.getcallargs(func, 1))
644 self.assertEqual({'a': 5, 'b': 2}, tf_inspect.getcallargs(func, 5))
651 self.assertEqual({'a': 3, 'b': 4}, tf_inspect.getcallargs(func, 3, 4))
658 self.assertEqual({'a': 3}, tf_inspect.getcallargs(func, a=3))
[all …]
Ddeprecation.py480 named_args = tf_inspect.getcallargs(func, *args, **kwargs)
562 named_args = tf_inspect.getcallargs(func, *args, **kwargs)
Dtf_inspect.py254 def getcallargs(func, *positional, **named): function
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py314 arg_values = tf_inspect.getcallargs(arg_map_target, *args, **kwargs)
330 callargs = tf_inspect.getcallargs(converted_f, *effective_args, **kwargs)
/external/tensorflow/tensorflow/python/autograph/converters/
Ddirectives.py50 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/python/cpython3/Doc/library/
Dinspect.rst994 .. function:: getcallargs(func, *args, **kwds)
1005 >>> from inspect import getcallargs
1008 >>> getcallargs(f, 1, 2, 3) == {'a': 1, 'named': {}, 'b': 2, 'pos': (3,)}
1010 >>> getcallargs(f, a=2, x=4) == {'a': 2, 'named': {'x': 4}, 'b': 1, 'pos': ()}
1012 >>> getcallargs(f)
/external/autotest/frontend/afe/
Drpc_utils.py1196 callargs = inspect.getcallargs(func, *args, **kwargs)
/external/python/cpython2/Lib/
Dinspect.py904 def getcallargs(func, *positional, **named): function
/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/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py1583 bound_args = inspect.getcallargs(
Dnetwork.py349 all_args = tf_inspect.getcallargs(self.call, None)
/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/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/Lib/test/
Dtest_inspect.py1450 inspect.getcallargs(f5)
1457 inspect.getcallargs(f6)
/external/python/cpython3/Lib/
Dinspect.py1325 def getcallargs(*func_and_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