/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | cfg_test.py | 51 def test_fn(a): function 58 graphs, node = self._build_cfg(test_fn) 73 def test_fn(a): function 80 graphs, node = self._build_cfg(test_fn) 153 def test_fn(a): function 159 graph, = self._build_cfg(test_fn).values() 174 def test_fn(a, b): function 178 graph, = self._build_cfg(test_fn).values() 191 def test_fn(a): function 195 graph, = self._build_cfg(test_fn).values() [all …]
|
D | origin_info_test.py | 58 def _create_source_map(self, test_fn): argument 59 node, source = parser.parse_entity(test_fn, ()) 60 origin_info.resolve_entity(node, source, test_fn) 66 test_fn = basic_definitions.simple_function 67 source_map = self._create_source_map(test_fn) 68 module_path = tf_inspect.getsourcefile(test_fn) 71 fn_start = inspect.getsourcelines(test_fn)[1] 81 test_fn = basic_definitions.function_with_multiline_call 82 source_map = self._create_source_map(test_fn) 83 module_path = tf_inspect.getsourcefile(test_fn) [all …]
|
D | inspect_utils_test.py | 102 def test_fn(): function 106 self.assertFalse(inspect_utils.islambda(test_fn)) 159 def test_fn(a): function 164 inspect_utils.getimmediatesource(test_fn), expected) 179 def test_fn(a): function 184 inspect_utils.getimmediatesource(test_fn), expected) 203 def test_fn(a): function 208 inspect_utils.getimmediatesource(test_fn), expected) 219 def test_fn(a): function 224 inspect_utils.getimmediatesource(test_fn), expected) [all …]
|
D | loader_test.py | 37 def test_fn(x): function 44 node, _ = parser.parse_entity(test_fn, future_features=()) 49 textwrap.dedent(tf_inspect.getsource(test_fn)), 50 tf_inspect.getsource(module.test_fn).replace(' ', ' '))
|
D | templates_test.py | 80 self.assertEqual((2, 3), result.test_fn(2, 3)) 92 self.assertEqual(7, result.test_fn(2)) 104 self.assertEqual(7, result.test_fn(2)) 137 self.assertEqual(3, result.test_fn(1)) 149 self.assertEqual(3, result.test_fn(mod)) 237 self.assertEqual(9, result.test_fn()) 257 self.assertEqual(15, result.test_fn()) 268 self.assertEqual(3, result.test_fn())
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | liveness_test.py | 39 def _parse_and_analyze(self, test_fn): argument 41 node, source = parser.parse_entity(test_fn, future_features=()) 43 name=test_fn.__name__, 80 def test_fn(x, a, b, c): # pylint:disable=unused-argument function 88 node = self._parse_and_analyze(test_fn) 96 def test_fn(x, a, b, c): # pylint:disable=unused-argument function 105 node = self._parse_and_analyze(test_fn) 114 def test_fn(x, a): function 121 node = self._parse_and_analyze(test_fn) 129 def test_fn(x, a): function [all …]
|
D | reaching_definitions_test.py | 40 def _parse_and_analyze(self, test_fn): argument 42 node, source = parser.parse_entity(test_fn, future_features=()) 44 name=test_fn.__name__, 92 def test_fn(a, b): function 98 node = self._parse_and_analyze(test_fn) 110 def test_fn(a, b): # pylint:disable=unused-argument function 119 node = self._parse_and_analyze(test_fn) 127 def test_fn(a, b): function 137 node = self._parse_and_analyze(test_fn) 147 def test_fn(a, b): function [all …]
|
D | activity_test.py | 130 def _parse_and_analyze(self, test_fn): argument 132 node, source = parser.parse_entity(test_fn, future_features=()) 134 name=test_fn.__name__, 166 def test_fn(): function 169 node, _ = self._parse_and_analyze(test_fn) 175 def test_fn(): function 179 node, _ = self._parse_and_analyze(test_fn) 187 def test_fn(a): function 193 node, _ = self._parse_and_analyze(test_fn) 210 def test_fn(a): function [all …]
|
D | type_inference_test.py | 93 def test_fn(a, b): function 96 node, _ = TestTranspiler(Resolver).transform(test_fn, None) 112 def test_fn(a): function 117 TestTranspiler(Resolver).transform(test_fn, None) 131 def test_fn(a: int, b): function 134 node, _ = TestTranspiler(Resolver).transform(test_fn, None) 163 def test_fn(a: int): function 171 node, _ = tr.transform(test_fn, None) 180 def test_fn(a: int, c: float): function 184 node, _ = TestTranspiler(BasicTestResolver).transform(test_fn, None) [all …]
|
D | activity_py3_test.py | 38 def test_fn(c): function 43 node, _ = self._parse_and_analyze(test_fn) 54 def test_fn(c): function 58 node, _ = self._parse_and_analyze(test_fn) 74 def test_fn(a: b) -> c: function 77 node, _ = self._parse_and_analyze(test_fn)
|
D | reaching_definitions_py3_test.py | 35 def test_fn(): function 42 node = self._parse_and_analyze(test_fn) 59 def test_fn(): function 71 node = self._parse_and_analyze(test_fn)
|
D | reaching_fndefs_test.py | 35 def _parse_and_analyze(self, test_fn): argument 37 node, source = parser.parse_entity(test_fn, future_features=()) 39 name=test_fn.__name__,
|
/external/tensorflow/tensorflow/python/tf_program/tests/ |
D | mlir_gen_test.py | 42 def test_fn(): function 45 mlir_code = mlir_gen(test_fn) 53 def test_fn(x: core.Tensor) -> core.Tensor: function 56 mlir_code = mlir_gen(test_fn) 65 def test_fn() -> int: function 68 mlir_code = mlir_gen(test_fn) 78 def test_fn(x: bool, y: bool) -> bool: function 81 mlir_code = mlir_gen(test_fn) 92 def test_fn(): function 102 mlir_code = mlir_gen(test_fn) [all …]
|
/external/tensorflow/tensorflow/python/autograph/utils/ |
D | py_func_test.py | 31 def test_fn(a, b, c): function 35 result = py_func.wrap_py_func(test_fn, dtypes.int32, 38 result = py_func.wrap_py_func(test_fn, dtypes.int32, (1, 1, 1)) 41 test_fn, dtypes.int32, 52 def test_fn(a, b): function 56 result = py_func.wrap_py_func(test_fn, dtypes.int32, (7, TestClass())) 58 result = py_func.wrap_py_func(test_fn, dtypes.int32, 69 def test_fn(a, b, c, d): function 73 result = py_func.wrap_py_func(test_fn, dtypes.int32, (7, TestClass(5)), { 78 result = py_func.wrap_py_func(test_fn, dtypes.int32, [all …]
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion_test.py | 48 def test_fn(): function 51 self.assertFalse(conversion.is_allowlisted(test_fn)) 58 def test_fn(): function 60 tf_like.test_fn = test_fn 61 test_fn.__module__ = tf_like 63 self.assertFalse(conversion.is_allowlisted(tf_like.test_fn)) 110 def test_fn(self): function 114 test_fn,
|
D | api_test.py | 94 def test_fn(*, a): function 98 test_fn, (), {'a': constant_op.constant(-1)}, options=DEFAULT_RECURSIVE) 302 def test_fn(x): function 308 test_fn, (constant_op.constant(-1),), None, options=DEFAULT_RECURSIVE) 314 def test_fn(x, y, z): function 320 functools.partial(test_fn, constant_op.constant(-1), z=-3), 328 functools.partial(test_fn, constant_op.constant(-1)), z=-3), 336 def test_fn(x, y, z): function 341 partial_fn = functools.partial(test_fn, constant_op.constant(-1), z=-3) 568 def test_fn(_): function [all …]
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_loops.cpp | 34 test_func test_fn; in test_image_type() local 40 test_fn = &test_fill_image_set_1D; in test_image_type() 46 test_fn = &test_fill_image_set_2D; in test_image_type() 52 test_fn = &test_fill_image_set_1D_array; in test_image_type() 58 test_fn = &test_fill_image_set_2D_array; in test_image_type() 64 test_fn = &test_fill_image_set_3D; in test_image_type() 99 test_fn(device, context, queue, &formatList[i], in test_image_type()
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | khr.csv | 1321 "basic", "test_fn.prefetch_double8", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1322 "basic", "test_fn.vload_global_double3", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1323 "basic", "test_fn.prefetch_double2", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1324 "basic", "test_fn.prefetch_double4", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1325 "basic", "test_fn.async_copy_global_to_local_double4", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1326 "basic", "test_fn.vstore_local_double8", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1327 "basic", "test_fn.async_strided_copy_global_to_local_double8", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1328 "basic", "test_fn.async_copy_local_to_global_double16", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1329 "basic", "test_fn.vstore_global_double4", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" 1330 "basic", "test_fn.vstore_global_double3", "cl_khr_fp64", "CL_FALSE", "CL_FALSE" [all …]
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins_test.py | 133 def test_fn(): function 137 self.assertEqual(self.evaluate(test_fn()), 3) 146 def test_fn(): function 151 self.evaluate(test_fn()) 160 def test_fn(): function 165 self.evaluate(test_fn()) 305 def test_fn(go_out_of_range, with_default): function 325 self.evaluate(test_fn(go_out_of_range=False, with_default=None)), 328 self.evaluate(test_fn(go_out_of_range=True, with_default=True)), 331 self.evaluate(test_fn(go_out_of_range=True, with_default=False)) [all …]
|
D | control_flow_test.py | 912 def test_fn(): function 914 self.assertEqual(test_fn(), expected) 948 def test_fn(cond): function 972 self.assertEqual(test_fn(constant_op.constant(True)), 1) 973 self.assertEqual(test_fn(constant_op.constant(False)), -1) 978 def test_fn(cond): function 1002 self.assertIsNone(test_fn(constant_op.constant(True))) 1003 self.assertIsNone(test_fn(constant_op.constant(False))) 1008 def test_fn(cond): function 1034 self.assertEqual(test_fn(constant_op.constant(True)), (1, 2)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pdb.py | 363 test_fn = '.\\test_mod.py' 365 with open(test_fn, 'w') as f: 367 self.addCleanup(os.remove, test_fn) 368 cmd = [sys.executable, '-m', 'pdb', test_fn,]
|
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/ |
D | cavp_aes_gcm_test.cc | 142 bool (*test_fn)(FileTest * t, void *arg); in cavp_aes_gcm_test_main() local 144 test_fn = &TestAEADEncrypt; in cavp_aes_gcm_test_main() 146 test_fn = &TestAEADDecrypt; in cavp_aes_gcm_test_main() 161 opts.callback = test_fn; in cavp_aes_gcm_test_main()
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/sparse/ |
D | conjugate_gradient_test.py | 122 for test_fn in _get_conjugate_gradient_test( 124 name = "_".join(["ConjugateGradient", test_fn.__name__, arg_string]) 128 test_fn.__name__ + arg_string, 129 test_fn)
|
/external/boringssl/src/util/fipstools/cavp/ |
D | cavp_aes_gcm_test.cc | 142 bool (*test_fn)(FileTest * t, void *arg); in cavp_aes_gcm_test_main() local 144 test_fn = &TestAEADEncrypt; in cavp_aes_gcm_test_main() 146 test_fn = &TestAEADDecrypt; in cavp_aes_gcm_test_main() 161 opts.callback = test_fn; in cavp_aes_gcm_test_main()
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tpu_embedding_v2_test.py | 557 def test_fn(): function 566 test_fn() 583 def test_fn(): function 594 test_fn() 611 def test_fn(): function 622 test_fn() 639 def test_fn(): function 651 test_fn() 663 def test_fn(): function 674 test_fn() [all …]
|