Home
last modified time | relevance | path

Searched refs:new_module (Results 1 – 25 of 46) sorted by relevance

12

/external/python/cpython3/Lib/test/test_importlib/
Dtest_lazy.py62 def new_module(self, source_code=None): member in LazyLoaderTests
94 module = self.new_module()
99 module = self.new_module()
106 module = self.new_module()
113 module = self.new_module()
119 module = self.new_module()
124 module = self.new_module()
132 module = self.new_module()
138 module = self.new_module()
/external/cronet/base/profiler/
Dmodule_cache.cc70 std::unique_ptr<const Module> new_module = CreateModuleForAddress(address); in GetModuleForAddress() local
71 if (!new_module && auxiliary_module_provider_) in GetModuleForAddress()
72 new_module = auxiliary_module_provider_->TryCreateModuleForAddress(address); in GetModuleForAddress()
73 if (!new_module) in GetModuleForAddress()
76 const auto result = native_modules_.insert(std::move(new_module)); in GetModuleForAddress()
Dnative_unwinder_android.cc277 auto new_module = std::make_unique<NonElfModule>(map_info); in EmitDexFrame() local
278 module = new_module.get(); in EmitDexFrame()
279 module_cache()->AddCustomNativeModule(std::move(new_module)); in EmitDexFrame()
/external/tensorflow/tensorflow/core/ir/importexport/tests/roundtrip/
Dverify_roundtrip.cc77 auto new_module = in main() local
79 if (!new_module) { in main()
83 module = std::move(new_module); in main()
/external/tensorflow/tensorflow/python/autograph/impl/
Dconversion_test.py51 tf_like = imp.new_module('tensorflow_foo')
61 allowlisted_mod = imp.new_module('test_allowlisted_call')
/external/tensorflow/tensorflow/compiler/xla/service/
Drng_bit_generator_expander.cc92 TF_ASSIGN_OR_RETURN(auto new_module, HloModule::CreateFromProto( in GetGeneratorComputation()
96 module->DeepCloneComputation(new_module->entry_computation(), &context); in GetGeneratorComputation()
Dbitcast_dtypes_expander.cc110 TF_ASSIGN_OR_RETURN(auto new_module, HloModule::CreateFromProto( in ExpandInstruction()
114 module->DeepCloneComputation(new_module->entry_computation(), &context); in ExpandInstruction()
Dhlo_module_group_test.cc220 auto new_module = CreateNewVerifiedModule(); in TEST_F() local
221 group.ReplaceModule(0, std::move(new_module)); in TEST_F()
Drng_expander.cc118 TF_ASSIGN_OR_RETURN(auto new_module, HloModule::CreateFromProto( in GetComputationForRng()
122 return module->DeepCloneComputation(new_module->entry_computation(), in GetComputationForRng()
Dcholesky_expander.cc254 TF_ASSIGN_OR_RETURN(auto new_module, HloModule::CreateFromProto( in ExpandInstruction()
258 module->DeepCloneComputation(new_module->entry_computation(), &context); in ExpandInstruction()
/external/tensorflow/tensorflow/python/autograph/core/
Dconverter_testing.py33 allowlisted_mod = imp.new_module('allowlisted_module_for_testing')
76 modified_ag = imp.new_module('fake_autograph')
Dconverter_test.py45 fake_ag = imp.new_module('fake_ag')
/external/tensorflow/tensorflow/compiler/jit/
Dget_compiler_ir.cc172 std::unique_ptr<xla::HloModule> new_module, in GetCompilerIr()
181 return new_module->ToProto().SerializeAsString(); in GetCompilerIr()
183 return new_module->ToString(opts); in GetCompilerIr()
/external/python/cffi/cffi/
D_cffi_include.h234 PyObject *module, *o_arg, *new_module; in _cffi_init() local
250 new_module = PyObject_CallMethod( in _cffi_init()
255 return new_module; in _cffi_init()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils_test.py305 qux = imp.new_module('quxmodule')
306 bar = imp.new_module('barmodule')
334 mod = imp.new_module(mod_name)
361 mod = imp.new_module('mod_{}'.format(i))
/external/tensorflow/tensorflow/python/util/
Ddeprecation.py673 def deprecate_moved_module(deprecated_name, new_module, deletion_version): argument
702 deprecated_name, new_module.__name__, deletion_version)
703 return getattr(new_module, name)
/external/selinux/gui/
DmodulesPage.py75 self.new_button.connect("clicked", self.new_module)
120 def new_module(self, args): member in modulesPage
/external/python/cpython2/Lib/
Dihooks.py163 def new_module(self, name): return imp.new_module(name) member in Hooks
181 d[name] = m = self.new_module(name)
/external/python/cpython2/Lib/test/
Dtest_pdb.py256 mod = imp.new_module('module_to_skip')
Dtest_importlib.py82 module = imp.new_module(import_name)
Dtest_pkgutil.py97 mod = sys.modules.setdefault(fullname, imp.new_module(fullname))
/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api_test.py48 sys.modules[_MODULE_NAME] = imp.new_module(_MODULE_NAME)
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_vectorize_convolutions.cc81 TF_ASSIGN_OR_RETURN(auto new_module, in BuilderToHloComputation()
86 return dest_module->DeepCloneComputation(new_module->entry_computation(), in BuilderToHloComputation()
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_urllib.py52 new_module, members = change
/external/grpc-grpc/tools/buildgen/
Dmako_renderer.py42 plugin_module = imp.new_module(base)

12