Home
last modified time | relevance | path

Searched defs:BackendIndex (Results 1 – 11 of 11) sorted by relevance

/aosp_15_r20/external/pytorch/torchgen/
H A Dgen.py323 def static_dispatch_keys(backends: list[BackendIndex]) -> list[DispatchKey]:
336 f: NativeFunction, backend_index: BackendIndex
356 f: NativeFunction, backend_index: list[BackendIndex]
371 def static_dispatch_extra_headers(backends: list[BackendIndex]) -> list[str]:
419 backend_index: BackendIndex,
437 backend_indices: list[BackendIndex],
466 backend_indices: list[BackendIndex],
1297 f: NativeFunction, backend_indices: dict[DispatchKey, BackendIndex] argument
1433 backend_indices: dict[DispatchKey, BackendIndex], argument
1490 backend_indices: dict[DispatchKey, BackendIndex], argument
[all …]
H A Dgen_aoti_c_shim.py307 backend_index: BackendIndex,
318 backend_indices: dict[DispatchKey, BackendIndex], argument
349 backend_indices: dict[DispatchKey, BackendIndex], argument
373 backend_indices: dict[DispatchKey, BackendIndex], argument
429 backend_indices: dict[DispatchKey, BackendIndex], argument
H A Dcontext.py111 func: Callable[[F, BackendIndex], T] argument
114 def wrapper(f: F, backend_index: BackendIndex) -> T:
123 func: Callable[[F, dict[DispatchKey, BackendIndex]], T] argument
126 def wrapper(f: F, backend_indices: dict[DispatchKey, BackendIndex]) -> T: argument
H A Dgen_backend_stubs.py42 backend_indices: dict[DispatchKey, BackendIndex], argument
250 backend_indices: dict[DispatchKey, BackendIndex], argument
361 backend_indices: dict[DispatchKey, BackendIndex], argument
418 backend_indices: dict[DispatchKey, BackendIndex], argument
H A Dgen_functionalization_type.py777 composite_implicit_autograd_index: BackendIndex,
H A Dgen_executorch.py82 backend_indices: list[BackendIndex],
H A Dmodel.py1268 class BackendIndex: class
2644 f: NativeFunction, g: NativeFunctionsGroup, b: BackendIndex
/aosp_15_r20/external/pytorch/torchgen/static_runtime/
H A Dgenerator.py511 def get_kernel_name(g: NativeFunctionsGroup, backend_index: BackendIndex) -> str:
518 def get_out_kernel_name(g: NativeFunctionsGroup, backend_index: BackendIndex) -> str:
526 g: NativeFunctionsGroup, backend_index: BackendIndex
537 g: NativeFunctionsViewGroup, backend_index: BackendIndex
550 g: NativeFunctionsGroup, backend_index: BackendIndex
605 self, groups: Sequence[NativeFunctionsGroup], backend_index: BackendIndex
631 self, groups: Sequence[NativeFunctionsViewGroup], backend_index: BackendIndex
657 self, g: NativeFunctionsGroup, backend_index: BackendIndex
682 self, g: NativeFunctionsViewGroup, backend_index: BackendIndex
/aosp_15_r20/external/pytorch/torchgen/dest/
H A Dregister_dispatch_key.py47 backend_index: BackendIndex,
83 backend_index: BackendIndex,
110 def gen_create_out_helper(backend_index: BackendIndex) -> list[str]:
133 def gen_maybe_create_proxy_helper(backend_index: BackendIndex) -> list[str]:
151 def gen_resize_out_helper(backend_index: BackendIndex) -> list[str]:
181 def gen_check_inplace_helper(backend_index: BackendIndex) -> list[str]:
204 def gen_registration_helpers(backend_index: BackendIndex) -> list[str]:
H A Dnative_functions.py12 def gen_unstructured(f: NativeFunction, backend_index: BackendIndex) -> str | None:
25 def gen_structured(g: NativeFunctionsGroup, backend_index: BackendIndex) -> list[str]:
45 g: NativeFunctionsGroup | NativeFunction, backend_index: BackendIndex
/aosp_15_r20/external/pytorch/torchgen/api/types/
H A Dsignatures.py395 f: NativeFunction, backend_index: BackendIndex, *, prefix: str = ""