Home
last modified time | relevance | path

Searched defs:_P (Results 1 – 20 of 20) sorted by relevance

/external/pytorch/torch/distributed/
Dc10d_logger.py76 _P = ParamSpec("_P") variable
79 def _exception_logger(func: Callable[_P, _T]) -> Callable[_P, _T]:
93 def _time_logger(func: Callable[_P, _T]) -> Callable[_P, _T]:
/external/python/python-api-core/google/api_core/retry/
Dretry_streaming.py48 _P = ParamSpec("_P") # target function call parameters variable
53 target: Callable[_P, Iterable[_Y]],
225 func: Callable[_P, Iterable[_Y]],
Dretry_unary.py79 _P = ParamSpec("_P") # target function call parameters variable
266 func: Callable[_P, _R],
Dretry_streaming_async.py51 _P = ParamSpec("_P") # target function call parameters variable
56 target: Callable[_P, AsyncIterable[_Y] | Awaitable[AsyncIterable[_Y]]],
Dretry_unary_async.py86 _P = ParamSpec("_P") # target function call parameters variable
/external/pytorch/torch/onnx/
D_deprecation.py11 _P = ParamSpec("_P") variable
28 def decorator(function: Callable[_P, _T]) -> Callable[_P, _T]:
Dsymbolic_helper.py28 _P = _ParamSpec("_P") variable
237 fn: Callable[_Concatenate[_U, _P], _T], argument
/external/pytorch/torch/distributed/checkpoint/
Dlogger.py18 _P = ParamSpec("_P") variable
67 def decorator(func: Callable[_P, _T]):
/external/pytorch/torch/jit/
D_decompositions.py19 _P = ParamSpec("_P") variable
70 def decomposition_decorator(f: Callable[_P, _T]) -> Callable[_P, _T]:
/external/python/cpython3/Tools/jit/
D_llvm.py14 _P = typing.ParamSpec("_P") variable
19 def _async_cache(f: _C[_P, _R]) -> _C[_P, _R]:
/external/pytorch/torch/_decomp/
D__init__.py26 _P = ParamSpec("_P") variable
178 def decomposition_decorator(fn: Callable[_P, _T]) -> Callable[_P, _T]:
/external/clang/test/SemaObjC/
Dproperty-ivar-mismatch.m18 void * _P; // expected-note {{instance variable is declared here}} field
/external/pytorch/torch/_dynamo/
Dconvert_frame.py139 _P = ParamSpec("_P") variable
183 def preserve_global_state(fn: Callable[_P, _T]) -> Callable[_P, _T]:
342 def maybe_cprofile(func: Callable[_P, _T]) -> Callable[_P, _T]:
348 def cprofile_wrapper(func: Callable[_P, _T]) -> Callable[_P, _T]:
/external/pytorch/torch/_prims_common/
Dwrappers.py24 _P = ParamSpec("_P") variable
242 def _out_wrapper(fn: Callable[_P, _T]) -> Callable[_P, _T]:
/external/libcxx/test/support/
Dnasty_macros.hpp32 #define _P NASTY_MACRO macro
/external/pytorch/torch/fx/experimental/
Dproxy_tensor.py119 _P = ParamSpec("_P") variable
136 def fake_signature(fn: Callable[_P, R], nargs: int) -> Callable[_P, R]:
498 tracer: _ProxyTracer, f: Callable[_P, R], *args: _P.args, **kwargs: _P.kwargs
516 proxy_callable: Callable[Concatenate[PySymType, _P], Proxy], argument
1167 f: Callable[_P, R], tensors: _P.args, tracer: _ProxyTracer, pre_dispatch: bool
2001 def _wrap_func(f: Callable[_P, R], phs: Sequence[PHBase]) -> Callable[_P, R]:
2141 def handle_sym_dispatch(func: Callable[_P, R], args: _P.args, kwargs: _P.kwargs) -> R:
/external/clang/test/Analysis/
DPR2978.m20 id _P; field
/external/pytorch/torch/_inductor/
Dsubgraph_lowering.py21 _P = ParamSpec("_P") variable
/external/pytorch/torch/optim/
Doptimizer.py313 _P = ParamSpec("_P") variable
466 def profile_hook_step(func: Callable[_P, R]) -> Callable[_P, R]: # noqa: D102
/external/scapy/scapy/
Dpacket.py2618 _P = TypeVar('_P', bound=Packet) variable