/aosp_15_r20/external/pytorch/torchgen/ |
H A D | gen.py | 1297 f: NativeFunction, backend_indices: dict[DispatchKey, BackendIndex] 1433 backend_indices: dict[DispatchKey, BackendIndex], 1490 backend_indices: dict[DispatchKey, BackendIndex], 1533 dispatch_key: DispatchKey, 1635 dispatch_key: DispatchKey, 1725 backend_indices: dict[DispatchKey, BackendIndex], 1728 functions_keys: set[DispatchKey], 1729 dispatch_keys: Sequence[DispatchKey], 1845 backend_indices: dict[DispatchKey, BackendIndex], 1849 functions_keys: set[DispatchKey], [all …]
|
H A D | gen_backend_stubs.py | 42 backend_indices: dict[DispatchKey, BackendIndex], 126 dispatch_key: DispatchKey, 250 backend_indices: dict[DispatchKey, BackendIndex], 251 backend_key: DispatchKey, 361 backend_indices: dict[DispatchKey, BackendIndex], 363 backend_dispatch_key: DispatchKey, 418 backend_indices: dict[DispatchKey, BackendIndex], 420 backend_dispatch_key: DispatchKey, 421 dispatch_key: DispatchKey,
|
H A D | gen_aoti_c_shim.py | 317 dispatch_key: DispatchKey, 318 backend_indices: dict[DispatchKey, BackendIndex], 348 dispatch_key: DispatchKey, 349 backend_indices: dict[DispatchKey, BackendIndex], 372 dispatch_key: DispatchKey, 373 backend_indices: dict[DispatchKey, BackendIndex], 428 dispatch_key: DispatchKey, 429 backend_indices: dict[DispatchKey, BackendIndex],
|
H A D | model.py | 79 class DispatchKey(Enum): class 305 def is_generic_dispatch_key(dk: DispatchKey) -> bool: 315 def is_cuda_dispatch_key(dk: DispatchKey) -> bool: 327 def is_xpu_dispatch_key(dk: DispatchKey) -> bool: 340 def is_structured_dispatch_key(dk: DispatchKey) -> bool: 344 def is_ufunc_dispatch_key(dk: DispatchKey) -> bool: 1284 parent_index: dict[DispatchKey, dict[OperatorName, BackendMetadata]], 1285 child_index: dict[DispatchKey, dict[OperatorName, BackendMetadata]],
|
H A D | context.py | 123 func: Callable[[F, dict[DispatchKey, BackendIndex]], T] 126 def wrapper(f: F, backend_indices: dict[DispatchKey, BackendIndex]) -> T:
|
H A D | native_function_generation.py | 381 indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]],
|
/aosp_15_r20/external/pytorch/torchgen/executorch/ |
H A D | model.py | 163 backend_indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]], 175 backend_indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]] 184 self, backend_indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]]
|
/aosp_15_r20/external/pytorch/torchgen/api/ |
H A D | ufunc.py | 28 def schema_kernel_name(func: FunctionSchema, dispatch_key: DispatchKey) -> str: 33 def kernel_name(g: NativeFunctionsGroup, dispatch_key: DispatchKey) -> str:
|
/aosp_15_r20/external/pytorch/torch/utils/ |
H A D | _python_dispatch.py | 208 def _pop_mode(k: Optional[Union[DispatchKey, torch._C._TorchDispatchModeKey]] = None): 219 def _pop_mode_temporarily(k: Optional[DispatchKey] = None):
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/api/ |
H A D | ShaderRegistry.h | 23 enum class DispatchKey : int8_t { enum
|
/aosp_15_r20/external/executorch/backends/vulkan/runtime/api/ |
H A D | ShaderRegistry.h | 27 enum class DispatchKey : int8_t { enum
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/op_registration/ |
H A D | op_allowlist.h | 188 constexpr bool dispatch_key_allowlist_check(DispatchKey /*k*/) { in dispatch_key_allowlist_check() argument
|
/aosp_15_r20/external/pytorch/torch/ |
H A D | _ops.py | 177 def resolve_key(op: OperatorBase, k: DispatchKey): # type: ignore[valid-type] 904 def _may_use_fallthrough_instead_of_fallback(key: DispatchKey):
|
H A D | types.py | 21 DispatchKey as DispatchKey, unknown
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | DispatchKey.h | 135 enum class DispatchKey : uint16_t { enum
|
/aosp_15_r20/external/pytorch/torch/_refs/nn/functional/ |
H A D | __init__.py | 72 DispatchKey = torch._C.DispatchKey # type: ignore[attr-defined] variable
|
/aosp_15_r20/external/pytorch/torch/_refs/ |
H A D | __init__.py | 354 DispatchKey = torch._C.DispatchKey # type: ignore[attr-defined] variable
|
/aosp_15_r20/external/pytorch/torch/_decomp/ |
H A D | decompositions.py | 38 DispatchKey = torch._C.DispatchKey # type: ignore[attr-defined] variable
|