Home
last modified time | relevance | path

Searched refs:parent_module (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py190 parent_module = '' # we import submodules in their parent_module
195 parent_module += '.' + submodule if parent_module else submodule
203 dest_module_name=parent_module,
214 dest_module_name=parent_module,
/external/autotest/client/
Dsetup_modules.py59 parent_module = sys.modules[parent_module_name]
60 setattr(parent_module, name, module)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_rewrite_pass.cc106 auto parent_module = entry_func.getParentOfType<ModuleOp>(); in EncapsulateFuncAndSerialize() local
107 auto versions_attr = parent_module.getAttr(kVersionsAttr); in EncapsulateFuncAndSerialize()
109 return parent_module.emitError(CreateMissingAttributeMsg(kVersionsAttr)); in EncapsulateFuncAndSerialize()
/external/python/cpython3/Lib/importlib/
D_bootstrap.py965 parent_module = sys.modules[parent]
967 path = parent_module.__path__
978 parent_module = sys.modules[parent]
979 setattr(parent_module, name.rpartition('.')[2], module)
/external/python/cpython3/Doc/library/
Dimportlib.rst1736 parent_module = import_module(parent_name)
1737 path = parent_module.__spec__.submodule_search_locations
1749 setattr(parent_module, child_name, module)