Home
last modified time | relevance | path

Searched refs:test_module (Results 1 – 25 of 97) sorted by relevance

1234

/aosp_15_r20/build/soong/android/
H A Dnamespace_test.go32 test_module {
35 test_module {
55 test_module {
59 test_module {
78 test_module {
85 test_module {
126 test_module {
134 test_module {
156 test_module {
163 test_module {
[all …]
H A Ddeptag_test.go63 test_module {
69 test_module {
74 test_module {
78 test_module {
/aosp_15_r20/external/tensorflow/tensorflow/python/tpu/
H A Dtpu_test_wrapper_test.py116 test_module = _write_and_load_module("""
129 self.assertEqual(test_module.VARS, 1)
130 tpu_test_wrapper.run_user_main(test_module)
131 self.assertEqual(test_module.VARS, 3)
134 test_module = _write_and_load_module("""
138 self.assertEqual(test_module.VARS, 1)
140 tpu_test_wrapper.run_user_main(test_module)
143 test_module = _write_and_load_module("""
156 self.assertEqual(test_module.VARS, 1)
157 tpu_test_wrapper.run_user_main(test_module)
[all …]
/aosp_15_r20/tools/asuite/aidegen/lib/
H A Dsource_locator_unittest.py136 test_module = dict(unittest_constants.MODULE_INFO)
137 test_module['srcs'] = []
140 test_module, 0)
147 test_module['depth'] = 1
149 test_module, 1)
155 test_module['class'] = ['APPS']
156 test_module['srcjars'] = []
158 test_module, 0)
164 test_module['srcjars'] = [('out/soong/.intermediates/packages/apps/'
167 test_module, 0)
[all …]
H A Dproject_file_gen_unittest.py87 test_module = common_util.read_file_content(self._MODULE_PATH)
91 self.assertEqual(test_module, sample_module)
97 test_module = common_util.read_file_content(self._MODULE_PATH)
102 self.assertEqual(test_module, sample_module)
205 test_module = common_util.read_file_content(self._MODULE_PATH)
206 self.assertEqual(test_module, sample_module)
/aosp_15_r20/external/pytorch/test/package/
H A Dtest_package_script.py180 from package_a.test_module import ModWithTensor
202 from package_a.test_module import ModWithTensor
219 from package_a.test_module import ModWithSubmod, ModWithTensor
285 from package_a.test_module import ModWithTensor, SimpleTest
310 from package_a.test_module import (
347 from package_a.test_module import ModWithSubmodAndTensor, ModWithTensor
387 from package_a.test_module import ModWithTensor
422 from package_a.test_module import ModWithSubmodAndTensor, ModWithTensor
447 from package_a.test_module import ModWithSubmod, SimpleTest
471 from package_a.test_module import (
[all …]
H A Dtest_package_fx.py49 from package_a.test_module import SimpleTest
65 from package_a.test_module import SimpleTest
133 from package_a.test_module import ModWithTwoSubmodsAndTensor, SimpleTest
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/tools/
H A Drun_hlo_module.cc117 std::unique_ptr<HloModule> test_module, HloRunnerInterface* test_runner, in RunAndCompare() argument
133 TF_RETURN_IF_ERROR(control_flow_flattening.Run(test_module.get()).status()); in RunAndCompare()
136 const HloModuleProto test_module_proto = test_module->ToProto(); in RunAndCompare()
138 std::vector<Literal> args = MakeFakeArguments(test_module.get(), engine, in RunAndCompare()
183 PrepareReferenceModule(*test_module, test_runner, config_modifier_hook, in RunAndCompare()
189 std::move(test_module), args, test_runner, options.run_test_hlo_passes); in RunAndCompare()
235 std::unique_ptr<HloModule> test_module = in RunAndCompare() local
239 return RunAndCompare(std::move(test_module), test_runner, reference_runner, in RunAndCompare()
H A Dprepare_reference_module.cc34 const HloModule& test_module, HloRunnerInterface* test_runner, in PrepareReferenceModule() argument
44 HloModuleConfig reference_config = test_module.config(); in PrepareReferenceModule()
50 test_module.Clone(reference_config, "reference"); in PrepareReferenceModule()
53 module_modifier_hook(test_module, test_runner, reference_module.get())); in PrepareReferenceModule()
/aosp_15_r20/external/pytorch/test/
H A Drun_test.py382 test_module: ShardedTest,
399 test_file = test_module.name
445 unittest_args.extend(test_module.get_pytest_args())
524 and isinstance(test_module, ShardedTest)
525 and test_module.time is not None
569 test_module, log_path, failed=(ret_code != 0), was_rerun=was_rerun
677 def run_test_with_subprocess(test_module, test_directory, options): argument
679 test_module, test_directory, options, extra_unittest_args=["--subprocess"]
720 test_module = "test_cpp_extensions_aot" + ("_ninja" if use_ninja else "_no_ninja")
723 test_directory + "/" + test_module + ".py",
[all …]
H A Dtest_public_bindings.py495 def test_module(modname): function
623 test_module(modname)
624 test_module("torch")
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py91 test_module = "spamham{}".format(os.getpid()) variable in WindowsRegistryFinderTests
104 with setup_module(self.machinery, self.test_module):
107 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
108 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module)
113 with setup_module(self.machinery, self.test_module, path="."):
116 loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
117 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module)
/aosp_15_r20/tools/asuite/atest/test_finders/
H A Dtest_finder_utils_unittest.py917 test_module = 'myModule'
924 self.assertEqual(test_module, result['module_name'])
929 test_module = 'myModule'
935 self.assertEqual(test_module, result['module_name'])
940 test_module = 'myModule'
947 self.assertEqual(test_module, result['module_name'])
952 test_module = 'myModule'
959 self.assertEqual(test_module, result['module_name'])
973 test_module = 'my-module'
979 self.assertEqual(test_module, result['module_name'])
[all …]
H A Dmodule_finder_unittest.py132 test_module = module_info_unittest_base.device_driven_test_module(
135 finder = self.create_finder_with_module(test_module)
159 test_module = module_info_unittest_base.device_driven_test_module(
162 finder = self.create_finder_with_module(test_module)
192 test_module = module_info_unittest_base.device_driven_test_module(
199 finder = self.create_finder_with_module(test_module)
220 test_module = (
226 finder = self.create_finder_with_module(test_module)
271 test_module = module_info_unittest_base.device_driven_test_module(
279 finder = self.create_finder_with_module(test_module)
[all …]
/aosp_15_r20/external/autotest/client/cros/cellular/pseudomodem/
H A Dpseudomodem.py195 if not self._opts.test_module:
198 test_module = self._LoadCustomPartsModule(self._opts.test_module)
201 self._modem = self._CreateCustomObject(test_module,
206 self._sim = self._CreateCustomObject(test_module,
217 test_module,
222 def _CreateCustomObject(self, test_module, class_name, arg_file_name): argument
247 class_def = getattr(test_module, class_name)
445 if not opts.test_module and test_objects:
/aosp_15_r20/tools/asuite/atest/
H A Dmodule_info_unittest_base.py106 return test_module(
131 return test_module(
150 return test_module(
160 return test_module(
173 return test_module(
185 def test_module( function
H A Dbazel_mode_unittest.py450 test_module(name='hello_world_test', installed='out/invalid/path')
480 test_module(name='hello_world_test', path='example/tests')
504 test_module(name='hello_world_test', path='example/tests')
522 test_module(name='hello_world_test', path='example/tests')
547 test_module(name='hello_world_test', path='example/tests')
714 test_module(name='hello_world_test', path='example/tests')
744 test_module(name='hello_world_test', path='example/tests')
1723 return host_only_config(test_module(**kwargs))
1728 return device_only_config(test_module(**kwargs))
1733 return host_only_config(robolectric(test_module(**kwargs)))
[all …]
/aosp_15_r20/external/executorch/exir/backend/test/
H A Dtest_graph_partition.py103 test_module = TestModule()
104 graph_module = self.get_graph_module(test_module, example_inputs)
135 test_module = TestModule()
136 graph_module = self.get_graph_module(test_module, example_inputs)
208 test_module = TestModule()
209 graph_module = self.get_graph_module(test_module, example_inputs)
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/splice/
H A Dshort_splice_read.sh127 if ! [ -d /sys/module/test_module/sections ] ; then
128 expect_success "test_module kernel module load" modprobe test_module
130 expect_failure "kernfs attr splice" test_splice /sys/module/test_module/coresize
131 expect_failure "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/command/
Dtest.py93 self.test_module = None
99 if self.test_suite and self.test_module:
104 if self.test_module is None:
107 self.test_suite = self.test_module + ".test_suite"
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/command/
Dtest.py93 self.test_module = None
99 if self.test_suite and self.test_module:
104 if self.test_module is None:
107 self.test_suite = self.test_module + ".test_suite"
/aosp_15_r20/external/selinux/python/sepolicy/sepolicy/
H A Dinterface.py173 from .templates import test_module
176 param_tmp.append(test_module.dict_values[i])
183 from .templates import test_module
185 te += re.sub("TEMPLATETYPE", name, test_module.te_test_module)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/command/
Dtest.py93 self.test_module = None
99 if self.test_suite and self.test_module:
104 if self.test_module is None:
107 self.test_suite = self.test_module + ".test_suite"
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/command/
Dtest.py93 self.test_module = None
99 if self.test_suite and self.test_module:
104 if self.test_module is None:
107 self.test_suite = self.test_module + ".test_suite"
/aosp_15_r20/external/python/setuptools/setuptools/command/
Dtest.py93 self.test_module = None
99 if self.test_suite and self.test_module:
104 if self.test_module is None:
107 self.test_suite = self.test_module + ".test_suite"

1234