/aosp_15_r20/build/soong/java/ |
H A D | base.go | 459 type Module struct { struct 460 android.ModuleBase 461 android.DefaultableModuleBase 462 android.ApexModuleBase 465 embeddableInModuleAndImport 467 properties CommonProperties 468 protoProperties android.ProtoProperties 469 deviceProperties DeviceProperties 471 overridableProperties OverridableProperties 472 sourceProperties android.SourceProperties [all …]
|
/aosp_15_r20/build/soong/rust/ |
H A D | rust.go | 145 type Module struct { struct 146 fuzz.FuzzModule 148 VendorProperties cc.VendorProperties 150 Properties BaseProperties 152 hod android.HostOrDeviceSupported 153 multilib android.Multilib 154 testModule bool 156 makeLinkType string 158 afdo *afdo 159 compiler compiler [all …]
|
/aosp_15_r20/build/soong/cc/ |
H A D | cc.go | 644 …linkerSpecifiedDeps(ctx android.ConfigurableEvaluatorContext, module *Module, specifiedDeps specif… 667 makeUninstallable(mod *Module) 865 type Module struct { struct 866 fuzz.FuzzModule 868 VendorProperties VendorProperties 869 Properties BaseProperties 870 sourceProperties android.SourceProperties 873 hod android.HostOrDeviceSupported 874 multilib android.Multilib 875 testModule bool [all …]
|
/aosp_15_r20/external/pytorch/torch/distributed/fsdp/ |
H A D | wrap.py | 44 root_module: nn.Module, 45 fn: Callable[[nn.Module], Optional[nn.Module]], 58 module: nn.Module, 60 parent_module: Optional[nn.Module], 85 root_module: nn.Module, 86 target_module_to_kwargs: Dict[nn.Module, Dict[str, Any]], 95 def fn(module: nn.Module) -> Optional[nn.Module]: 107 root_module: nn.Module, 108 module_classes: Iterable[Type[nn.Module]], 109 ignored_modules: Set[nn.Module], [all …]
|
H A D | _init_utils.py | 288 module: nn.Module, 289 ignored_modules: Optional[Iterable[torch.nn.Module]], 291 Optional[Iterable[torch.nn.Parameter]], Optional[Iterable[torch.nn.Module]] 364 module: nn.Module, 413 module: nn.Module, 552 def _verify_managed_params(module: nn.Module, params: List[nn.Parameter]) -> None: 574 fully_sharded_module: nn.Module, 576 param_init_fn: Optional[Callable[[nn.Module], None]], 644 fully_sharded_module: nn.Module, 672 root_module: nn.Module, [all …]
|
H A D | _state_dict_utils.py | 85 module: nn.Module, fsdp_state: _FSDPState 98 module: nn.Module, fsdp_state 110 module: nn.Module, 138 def _exit_unshard_params_ctx(module: nn.Module, fsdp_state: _FSDPState) -> None: 145 module: nn.Module, 158 module: nn.Module, 181 module: nn.Module, 288 module: nn.Module, 313 module: nn.Module, 358 module: nn.Module, [all …]
|
H A D | fully_sharded_data_parallel.py | 413 module: nn.Module, 422 ignored_modules: Optional[Iterable[torch.nn.Module]] = None, 423 param_init_fn: Optional[Callable[[nn.Module], None]] = None, 430 Optional[Iterable[torch.nn.Parameter]], Optional[Iterable[torch.nn.Module]] 564 module: nn.Module, 585 def apply(self, fn: Callable[[nn.Module], None]) -> "FullyShardedDataParallel": 644 module: nn.Module, 762 def get_state_dict_type(module: nn.Module) -> StateDictSettings: 800 module: nn.Module, 872 module: nn.Module, [all …]
|
H A D | _runtime_utils.py | 59 module: nn.Module, 90 def _get_fsdp_root_states(module: nn.Module) -> List[_FSDPState]: 96 def _is_fsdp_root(state: _FSDPState, module: nn.Module) -> bool: 112 root_module: nn.Module, 144 def _check_flat_params_on_expected_device(state: _FSDPState, module: nn.Module): 171 root_module: nn.Module, 348 module: nn.Module, 438 module: nn.Module, 502 module: nn.Module, 600 state: _FSDPState, module: torch.nn.Module, args, kwargs [all …]
|
/aosp_15_r20/build/soong/android/ |
H A D | singleton.go | 28 ModuleName(module blueprint.Module) string 29 ModuleDir(module blueprint.Module) string 30 ModuleSubDir(module blueprint.Module) string 31 ModuleType(module blueprint.Module) string 32 BlueprintFile(module blueprint.Module) string 36 ModuleVariantsFromName(referer Module, name string) []Module 38 otherModuleProvider(module blueprint.Module, provider blueprint.AnyProviderKey) (any, bool) 40 ModuleErrorf(module blueprint.Module, format string, args ...interface{}) 65 VisitAllModulesBlueprint(visit func(blueprint.Module)) 66 VisitAllModules(visit func(Module)) [all …]
|
/aosp_15_r20/external/pytorch/torch/ao/quantization/fx/ |
H A D | prepare.py | 129 named_modules: Dict[str, torch.nn.Module], 235 node: Node, named_modules: Dict[str, torch.nn.Module] 367 named_modules: Dict[str, torch.nn.Module], 429 named_modules: Dict[str, torch.nn.Module], 462 root: torch.nn.Module, module_to_qat_module: Dict[Pattern, Type[torch.nn.Module]] 478 model: torch.nn.Module, 479 named_modules: Dict[str, torch.nn.Module], 511 named_modules: Dict[str, torch.nn.Module], 564 named_modules: Dict[str, torch.nn.Module], 665 named_modules: Dict[str, torch.nn.Module], [all …]
|
/aosp_15_r20/external/bcc/src/cc/includes/ |
H A D | syms.h | 152 struct Module { struct 161 Module(const char *name, std::shared_ptr<ModulePath> path, argument 165 std::shared_ptr<ModulePath> path_; argument 169 ModuleType type_; argument 194 std::vector<Module> modules_; argument 222 struct Module { struct 223 Module(const char *module_name): in Module() argument 239 std::unordered_map<std::string, std::unique_ptr<Module> > buildmap_; argument
|
/aosp_15_r20/external/bcc/src/cc/ |
H A D | syms.h | 152 struct Module { struct 161 Module(const char *name, std::shared_ptr<ModulePath> path, argument 165 std::shared_ptr<ModulePath> path_; argument 169 ModuleType type_; argument 194 std::vector<Module> modules_; argument 222 struct Module { struct 223 Module(const char *module_name): in Module() argument 239 std::unordered_map<std::string, std::unique_ptr<Module> > buildmap_; argument
|
/aosp_15_r20/external/wayland-protocols/ |
H A D | wayland_protocol_codegen.go | 184 type Module struct { struct 185 android.ModuleBase 186 android.DefaultableModuleBase 187 android.ApexModuleBase 189 android.ImageInterface 191 properties generatorProperties 193 taskGenerator taskFunc 195 rawCommands []string 197 exportedIncludeDirs android.Paths 199 outputFiles android.Paths [all …]
|
/aosp_15_r20/build/soong/genrule/ |
H A D | genrule.go | 184 type Module struct { struct 185 android.ModuleBase 186 android.DefaultableModuleBase 187 android.ApexModuleBase 191 Extra interface{} 195 CmdModifier func(ctx android.ModuleContext, cmd string) string 197 android.ImageInterface 199 properties generatorProperties 204 taskGenerator taskFunc 206 rule blueprint.Rule [all …]
|
/aosp_15_r20/external/pytorch/torch/distributed/checkpoint/ |
H A D | state_dict.py | 168 model: nn.Module, 236 def recurse(module: nn.Module, curr_fqn: str) -> Generator: 265 model: nn.Module, 269 submodules: Optional[Set[nn.Module]] = None, 439 def _state_dict_fn(obj: Union[nn.Module, torch.optim.Optimizer], api: str) -> Callable: 466 model: nn.Module, info: _StateDictInfo 534 model: nn.Module, 735 model: nn.Module, 798 model: nn.Module, 871 model: nn.Module, [all …]
|
/aosp_15_r20/build/blueprint/ |
H A D | singleton_ctx.go | 35 ModuleName(module Module) string 38 ModuleDir(module Module) string 42 ModuleSubDir(module Module) string 45 ModuleType(module Module) string 48 BlueprintFile(module Module) string 55 ModuleProvider(module Module, provider AnyProviderKey) (any, bool) 58 ModuleErrorf(module Module, format string, args ...interface{}) 64 OtherModulePropertyErrorf(module Module, property string, format string, args ...interface{}) 100 VisitAllModules(visit func(Module)) 107 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) [all …]
|
/aosp_15_r20/build/soong/bpfix/bpfix/ |
H A D | bpfix.go | 310 func simplifyKnownPropertiesDuplicatingEachOther(mod *parser.Module, buf []byte, patchList *parser.… 545 func indicateAttributeError(mod *parser.Module, attributeName string, format string, a ...interface… 560 func resolveLocalModule(mod *parser.Module, val parser.Expression) parser.Expression { 910 func convertToSingleSource(mod *parser.Module, srcPropertyName string) { 988 func reorderCommonProperties(mod *parser.Module, buf []byte, patchlist *parser.PatchList) error { 1034 func removeTags(mod *parser.Module, buf []byte, patchlist *parser.PatchList) error { 1114 func removeNestedProperty(mod *parser.Module, patchList *parser.PatchList, propName string) error { 1168 func mergeMatchingModuleProperties(mod *parser.Module, buf []byte, patchlist *parser.PatchList) err… 1279 func removeMatchingModuleListProperties(mod *parser.Module, patchList *parser.PatchList, canonicalN… 1307 func hasNonEmptyLiteralListProperty(mod *parser.Module, name string) bool { [all …]
|
/aosp_15_r20/external/perfetto/src/trace_processor/sqlite/bindings/ |
H A D | sqlite_module.h | 31 struct Module { struct 39 static constexpr enum { kEponymousOnly, kCreateOnly } kType = kCreateOnly; 45 static constexpr bool kSupportsWrites = true; 51 static constexpr bool kDoesOverloadFunctions = true; 56 using Context = void; 62 using Vtab = sqlite3_vtab; 68 using Cursor = sqlite3_vtab_cursor; 174 using FindFunctionFn = void(sqlite3_context*, int, sqlite3_value**); 198 static constexpr sqlite3_module CreateModule() { in CreateModule() argument
|
/aosp_15_r20/external/pytorch/torch/_functorch/ |
H A D | make_functional.py | 72 mod: nn.Module, 97 mod: nn.Module, 111 mod: nn.Module, 117 mod: nn.Module, 134 mod: nn.Module, names_map: Dict[str, List[str]], elems: Iterable[Tensor] 148 mod: nn.Module, 158 model: nn.Module, 177 def make_functional_deprecated_v1(model: nn.Module): 219 def make_functional_with_buffers_deprecated_v1(model: nn.Module): 263 stateless_model: nn.Module, [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/api/ |
H A D | module.h | 87 struct TORCH_API Module : public Object { struct 92 Module& operator=(const Module&) = default; argument 94 Module& operator=(Module&&) noexcept = default; argument 99 Module(ModulePtr module_value) : Object(std::move(module_value)) {} in Module() argument 104 "Module::set_optimized() is deprecated and has no effect. " in set_optimized() argument 110 "Module::is_optimized() is deprecated and always returns true. " in is_optimized() argument 123 void register_buffer(const std::string& name, at::Tensor v) { in register_buffer() 150 void register_module(const std::string& name, const Module& module) { in register_module() argument 187 void eval() { in eval() 191 bool is_training() const { in is_training() [all …]
|
/aosp_15_r20/external/executorch/examples/models/llama/source_transformation/ |
H A D | pre_quantization.py | 23 module: torch.nn.Module, 29 def filter_fn(child: torch.nn.Module, cur_fqn: str) -> bool: 39 def replacement_fn(child: torch.nn.Module) -> torch.nn.Module: 61 module: torch.nn.Module, 87 module: torch.nn.Module, 91 def filter_fn(child: torch.nn.Module, cur_fqn: str) -> bool: 103 def replacement_fn(child: torch.nn.Module) -> torch.nn.Module: 121 module: torch.nn.Module, 138 module: torch.nn.Module, 144 def filter_fn(child: torch.nn.Module, cur_fqn: str) -> bool: [all …]
|
/aosp_15_r20/external/google-breakpad/src/common/ |
H A D | module_unittest.cc | 76 TEST(Module, WriteHeader) { in TEST() argument 85 TEST(Module, WriteHeaderCodeId) { in TEST() argument 95 TEST(Module, WriteOneLineFunc) { in TEST() argument 120 TEST(Module, WriteRelativeLoadAddress) { in TEST() argument 178 TEST(Module, WriteOmitUnusedFiles) { in TEST() argument 227 TEST(Module, WriteNoCFI) { in TEST() argument 273 TEST(Module, ConstructAddFunction) { in TEST() argument 315 TEST(Module, WriteOutOfRangeAddresses) { in TEST() argument 367 TEST(Module, ConstructAddFrames) { in TEST() argument 454 TEST(Module, ConstructUniqueFiles) { in TEST() argument [all …]
|
/aosp_15_r20/external/starlark-go/starlarkstruct/ |
H A D | module.go | 14 type Module struct { struct 15 Name string 16 Members starlark.StringDict 21 func (m *Module) Attr(name string) (starlark.Value, error) { return m.Members[name], nil } 22 func (m *Module) AttrNames() []string { return m.Members.Keys() } 23 func (m *Module) Freeze() { m.Members.Freeze() } 24 …ule) Hash() (uint32, error) { return 0, fmt.Errorf("unhashable: %s", m.Type()) } 25 …(m *Module) String() string { return fmt.Sprintf("<module %q>", m.Name) } 26 func (m *Module) Truth() starlark.Bool { return true } 27 func (m *Module) Type() string { return "module" }
|
/aosp_15_r20/external/pytorch/test/distributed/_composable/ |
H A D | test_contract.py | 31 module: nn.Module, inp: Tuple[torch.Tensor] 36 module: nn.Module, inp: Tuple[torch.Tensor], out: torch.Tensor 41 module: nn.Module, grad_output: torch.Tensor 46 module: nn.Module, 53 def noop_api(module: nn.Module) -> nn.Module: 83 def wrap_module(module: nn.Module) -> nn.Module: 95 module: nn.Module, inp: Tuple[torch.Tensor] 104 def api(module: nn.Module) -> nn.Module: 119 def api1(module: nn.Module) -> nn.Module: 123 def api2(module: nn.Module) -> nn.Module: [all …]
|
/aosp_15_r20/external/pytorch/torch/ao/ns/ |
H A D | _numeric_suite_fx.py | 295 def is_leaf_module(self, m: torch.nn.Module, module_qualified_name: str) -> bool: 384 model_a: nn.Module, 386 model_b: nn.Module, 531 model_a: nn.Module, 533 model_b: nn.Module, 586 model: nn.Module, 641 model_a: nn.Module, 642 model_b: nn.Module, 707 model_a: nn.Module, 709 model_b: nn.Module, [all …]
|