Searched refs:parent_module (Results 1 – 5 of 5) sorted by relevance
190 parent_module = '' # we import submodules in their parent_module195 parent_module += '.' + submodule if parent_module else submodule203 dest_module_name=parent_module,214 dest_module_name=parent_module,
59 parent_module = sys.modules[parent_module_name]60 setattr(parent_module, name, module)
106 auto parent_module = entry_func.getParentOfType<ModuleOp>(); in EncapsulateFuncAndSerialize() local107 auto versions_attr = parent_module.getAttr(kVersionsAttr); in EncapsulateFuncAndSerialize()109 return parent_module.emitError(CreateMissingAttributeMsg(kVersionsAttr)); in EncapsulateFuncAndSerialize()
965 parent_module = sys.modules[parent]967 path = parent_module.__path__978 parent_module = sys.modules[parent]979 setattr(parent_module, name.rpartition('.')[2], module)
1736 parent_module = import_module(parent_name)1737 path = parent_module.__spec__.submodule_search_locations1749 setattr(parent_module, child_name, module)