Home
last modified time | relevance | path

Searched refs:build_info (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/python/platform/
Dself_check.py25 from tensorflow.python.platform import build_info
45 if hasattr(build_info, "msvcp_dll_name"):
47 ctypes.WinDLL(build_info.msvcp_dll_name)
55 % build_info.msvcp_dll_name)
57 if build_info.is_cuda_build:
60 if hasattr(build_info, "nvcuda_dll_name"):
62 ctypes.WinDLL(build_info.nvcuda_dll_name)
70 % build_info.nvcuda_dll_name)
72 if hasattr(build_info, "cudart_dll_name") and hasattr(
73 build_info, "cuda_version_number"):
[all …]
Dbuild_info_test.py21 from tensorflow.python.platform import build_info
28 self.assertEqual(build_info.is_cuda_build, test.is_built_with_cuda())
/external/tensorflow/tensorflow/java/maven/tensorflow-android/
Dupdate.py46 def get_commit_id(build_info): argument
48 release_commit_id = build_info.get('build_commit_id')
51 actions = build_info.get('actions')
56 raise ValueError('Missing BuildData: %s' % build_info)
59 raise ValueError('Missing lastBuiltRevision: %s' % build_info)
63 def get_aar_url(build_info): argument
65 base_url = build_info.get('url')
67 raise ValueError('Missing url: %s' % build_info)
68 build_class = build_info.get('_class')
72 a for a in build_info.get('artifacts')
[all …]
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_test_util.py107 self, build_info, dtype, use_placeholder, argument
194 for build_info in self._operator_build_infos:
199 build_info, dtype, use_placeholder=use_placeholder)
202 self.assertAllEqual(build_info.shape, op_dense.get_shape())
210 for build_info in self._operator_build_infos:
215 build_info, dtype, use_placeholder=use_placeholder)
218 self.assertAllEqual(build_info.shape[:-2], op_det.get_shape())
227 for build_info in self._operator_build_infos:
232 build_info, dtype, use_placeholder=use_placeholder)
237 build_info.shape[:-2], op_log_abs_det.get_shape())
[all …]
/external/python/cpython3/Lib/distutils/command/
Dbuild_clib.py137 name, build_info = lib
148 if not isinstance(build_info, dict):
161 for (lib_name, build_info) in self.libraries:
169 for (lib_name, build_info) in self.libraries:
170 sources = build_info.get('sources')
182 for (lib_name, build_info) in libraries:
183 sources = build_info.get('sources')
196 macros = build_info.get('macros')
197 include_dirs = build_info.get('include_dirs')
Dbuild_ext.py366 ext_name, build_info = ext
378 if not isinstance(build_info, dict):
385 ext = Extension(ext_name, build_info['sources'])
392 val = build_info.get(key)
397 ext.runtime_library_dirs = build_info.get('rpath')
398 if 'def_file' in build_info:
404 macros = build_info.get('macros')
/external/python/cpython2/Lib/distutils/command/
Dbuild_clib.py138 name, build_info = lib
150 if not isinstance(build_info, dict):
162 for (lib_name, build_info) in self.libraries:
170 for (lib_name, build_info) in self.libraries:
171 sources = build_info.get('sources')
182 for (lib_name, build_info) in libraries:
183 sources = build_info.get('sources')
196 macros = build_info.get('macros')
197 include_dirs = build_info.get('include_dirs')
Dbuild_ext.py366 ext_name, build_info = ext
378 if not isinstance(build_info, dict):
385 ext = Extension(ext_name, build_info['sources'])
392 val = build_info.get(key)
397 ext.runtime_library_dirs = build_info.get('rpath')
398 if 'def_file' in build_info:
404 macros = build_info.get('macros')
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_block_diag_test.py72 build_info = linear_operator_test_util.OperatorBuildInfo
74 build_info((0, 0)),
75 build_info((1, 1)),
76 build_info((1, 3, 3)),
77 build_info((5, 5), blocks=[(2, 2), (3, 3)]),
78 build_info((3, 7, 7), blocks=[(1, 2, 2), (3, 2, 2), (1, 3, 3)]),
79 build_info((2, 1, 5, 5), blocks=[(2, 1, 2, 2), (1, 3, 3)]),
83 self, build_info, dtype, use_placeholder, argument
85 shape = list(build_info.shape)
87 build_info.__dict__["blocks"] if "blocks" in build_info.__dict__
[all …]
Dlinear_operator_zeros_test.py44 build_info = linear_operator_test_util.OperatorBuildInfo
46 build_info((1, 1)),
47 build_info((1, 3, 3)),
48 build_info((3, 4, 4)),
49 build_info((2, 1, 4, 4))]
52 self, build_info, dtype, use_placeholder, argument
56 shape = list(build_info.shape)
195 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
197 shape = list(build_info.shape)
Dlinear_operator_kronecker_test.py92 build_info = linear_operator_test_util.OperatorBuildInfo
94 build_info((1, 1), factors=[(1, 1), (1, 1)]),
95 build_info((8, 8), factors=[(2, 2), (2, 2), (2, 2)]),
96 build_info((12, 12), factors=[(2, 2), (3, 3), (2, 2)]),
97 build_info((1, 3, 3), factors=[(1, 1), (1, 3, 3)]),
98 build_info((3, 6, 6), factors=[(3, 1, 1), (1, 2, 2), (1, 3, 3)]),
106 self, build_info, dtype, use_placeholder, argument
111 shape = list(build_info.shape)
112 expected_factors = build_info.__dict__["factors"]
Dlinear_operator_circulant_test.py103 self, build_info, dtype, use_placeholder, argument
105 shape = build_info.shape
161 self, build_info, dtype, use_placeholder, argument
163 shape = build_info.shape
234 self, build_info, dtype, use_placeholder, argument
237 shape = build_info.shape
379 build_info = linear_operator_test_util.OperatorBuildInfo
382 build_info((0, 0)),
383 build_info((1, 1)),
384 build_info((1, 6, 6)),
[all …]
Dlinear_operator_low_rank_update_test.py51 build_info = linear_operator_test_util.OperatorBuildInfo
57 build_info((0, 0)),
58 build_info((1, 1)),
59 build_info((1, 3, 3)),
60 build_info((3, 4, 4)),
61 build_info((2, 1, 4, 4))]
72 def _operator_and_matrix(self, build_info, dtype, use_placeholder, argument
75 shape = list(build_info.shape)
Dlinear_operator_full_matrix_test.py39 self, build_info, dtype, use_placeholder, argument
41 shape = list(build_info.shape)
137 self, build_info, dtype, use_placeholder, argument
143 shape = list(build_info.shape)
208 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
209 shape = list(build_info.shape)
Dlinear_operator_adjoint_test.py41 build_info, argument
45 shape = list(build_info.shape)
121 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
122 shape_before_adjoint = list(build_info.shape)
Dlinear_operator_composition_test.py51 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
52 shape = list(build_info.shape)
144 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
146 shape = list(build_info.shape)
Dlinear_operator_lower_triangular_test.py38 def _operator_and_matrix(self, build_info, dtype, use_placeholder): argument
39 shape = list(build_info.shape)
Dlinear_operator_inversion_test.py41 build_info, argument
45 shape = list(build_info.shape)
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_manager_unittest.cc100 BuildInfo build_info; in TEST_F() local
101 PRINT("%smodel: %s\n", kTag, build_info.GetDeviceModel().c_str()); in TEST_F()
102 PRINT("%sbrand: %s\n", kTag, build_info.GetBrand().c_str()); in TEST_F()
104 kTag, build_info.GetDeviceManufacturer().c_str()); in TEST_F()
109 BuildInfo build_info; in TEST_F() local
110 PRINT("%sbuild release: %s\n", kTag, build_info.GetBuildRelease().c_str()); in TEST_F()
111 PRINT("%sbuild id: %s\n", kTag, build_info.GetAndroidBuildId().c_str()); in TEST_F()
112 PRINT("%sbuild type: %s\n", kTag, build_info.GetBuildType().c_str()); in TEST_F()
113 PRINT("%sSDK version: %s\n", kTag, build_info.GetSdkVersion().c_str()); in TEST_F()
/external/python/setuptools/setuptools/command/
Dbuild_clib.py24 for (lib_name, build_info) in libraries:
25 sources = build_info.get('sources')
38 obj_deps = build_info.get('obj_deps', dict())
78 macros = build_info.get('macros')
79 include_dirs = build_info.get('include_dirs')
80 cflags = build_info.get('cflags')
/external/autotest/site_utils/sponge_lib/
Dacts_job_info.py64 self.build_info = json.load(fd)
68 self.build_info = {}
71 build_prop_str = self.build_info['build_prop']
73 self.build_info['build_prop'] = prop_dict
85 self.build_info['build_prop'] = {}
135 build_id = self.build_info.get('build_prop', {}).get('ro.build.id')
139 build_version = self.build_info.get('build_prop', {}).get(
155 build_props = self.build_info.get('build_prop', {})
/external/autotest/server/site_tests/provision_Cr50Update/
Dcontrol20 'prodsigned-rw_ver/image_bid/chip_bid' or 'selfsigned-build_info/chip_bid'.
21 build_info is something like 'reef-release/R61-9704.0.0'. For a prodsigned image
22 only the rw_ver is manditory. On selfsigned images only the build_info is
/external/autotest/client/bin/result_tools/
Dzip_file_throttler_unittest.py54 build_info = os.path.join(self.test_dir, 'BUILD_INFO-x')
55 unittest_lib.create_file(build_info, ORIGINAL_SIZE_BYTE)
56 self.files_not_zip.append(build_info)
Dshrink_file_throttler_unittest.py55 build_info = os.path.join(self.test_dir, 'BUILD_INFO-HT7591A00171')
56 unittest_lib.create_file(build_info, ORIGINAL_SIZE_BYTE)
57 self.files_not_shrink.append(build_info)
/external/autotest/cli/
Dsuite.py86 build_info = topic_common.item_parse_info(attribute_name='build',
107 [suite_info, board_info, build_info, pool_info, num_info,

12