Home
last modified time | relevance | path

Searched refs:from_module (Results 1 – 6 of 6) sorted by relevance

/external/python/parse_type/tasks/
D__init__.py49 namespace.add_collection(Collection.from_module(cleanup), name="cleanup")
50 namespace.add_collection(Collection.from_module(test))
51 namespace.add_collection(Collection.from_module(release))
/external/pytorch/torch/nn/utils/
Dparametrize.py759 from_module: Module,
777 if is_parametrized(from_module):
778 assert isinstance(from_module.parametrizations, ModuleDict) # for mypy
782 from_module.parametrizations if tensor_name is None else [tensor_name]
792 Parameter(getattr(from_module, parameter_name)),
796 for param_func in from_module.parametrizations[parameter_name]:
802 if hasattr(from_module.parametrizations[parameter_name], "original"):
805 ].original = from_module.parametrizations[parameter_name].original
810 while hasattr(from_module.parametrizations[parameter_name], orig_num):
814 getattr(from_module.parametrizations[parameter_name], orig_num),
/external/autotest/client/
Dsetup_modules.py77 from_module = __import__(from_where, globals(), locals(), [module])
78 return getattr(from_module, module)
/external/google-breakpad/src/tools/mac/dump_syms/
Ddump_syms_tool.cc90 const Module* from_module) { in CopyCFIDataBetweenModules() argument
96 from_module->GetStackFrameEntries(&from_data); in CopyCFIDataBetweenModules()
/external/pytorch/torch/fx/
Dgraph_module.py212 def _copy_attr(from_module: torch.nn.Module, to_module: torch.nn.Module, target: str):
215 f = getattr(from_module, item)
227 from_module, to_module = f, t
229 orig = getattr(from_module, field)
/external/python/cpython3/Lib/test/test_import/
D__init__.py214 def from_module(cls, mod): member in ModuleSnapshot
2548 def from_module(cls, mod): member in TestSinglePhaseSnapshot
2549 self = super().from_module(mod)
2666 snapshot=TestSinglePhaseSnapshot.from_module(mod),
2676 snapshot=TestSinglePhaseSnapshot.from_module(reloaded),