/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | cfg_test.py | 47 def test_fn(a): function 54 graphs, node = self._build_cfg(test_fn) 69 def test_fn(a): function 76 graphs, node = self._build_cfg(test_fn) 149 def test_fn(a): function 155 graph, = self._build_cfg(test_fn).values() 170 def test_fn(a, b): function 174 graph, = self._build_cfg(test_fn).values() 187 def test_fn(a): function 191 graph, = self._build_cfg(test_fn).values() [all …]
|
D | origin_info_test.py | 54 def _create_source_map(self, test_fn): argument 55 node, source = parser.parse_entity(test_fn, ()) 56 origin_info.resolve_entity(node, source, test_fn) 62 test_fn = basic_definitions.simple_function 63 source_map = self._create_source_map(test_fn) 64 module_path = tf_inspect.getsourcefile(test_fn) 67 fn_start = inspect.getsourcelines(test_fn)[1] 77 test_fn = basic_definitions.function_with_multiline_call 78 source_map = self._create_source_map(test_fn) 79 module_path = tf_inspect.getsourcefile(test_fn) [all …]
|
D | inspect_utils_test.py | 96 def test_fn(): function 100 self.assertFalse(inspect_utils.islambda(test_fn)) 153 def test_fn(a): function 158 inspect_utils.getimmediatesource(test_fn), expected) 173 def test_fn(a): function 178 inspect_utils.getimmediatesource(test_fn), expected) 197 def test_fn(a): function 202 inspect_utils.getimmediatesource(test_fn), expected) 213 def test_fn(a): function 218 inspect_utils.getimmediatesource(test_fn), expected) [all …]
|
D | templates_test.py | 76 self.assertEqual((2, 3), result.test_fn(2, 3)) 88 self.assertEqual(7, result.test_fn(2)) 100 self.assertEqual(7, result.test_fn(2)) 133 self.assertEqual(3, result.test_fn(1)) 145 self.assertEqual(3, result.test_fn(mod)) 233 self.assertEqual(9, result.test_fn()) 253 self.assertEqual(15, result.test_fn()) 264 self.assertEqual(3, result.test_fn())
|
D | loader_test.py | 43 def test_fn(x): function 50 node, _ = parser.parse_entity(test_fn, future_features=()) 52 source = tf_inspect.getsource(module.test_fn) 53 expected_node_src = textwrap.dedent(tf_inspect.getsource(test_fn))
|
/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | liveness_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__, 76 def test_fn(x, a, b, c): # pylint:disable=unused-argument function 84 node = self._parse_and_analyze(test_fn) 92 def test_fn(x, a, b, c): # pylint:disable=unused-argument function 101 node = self._parse_and_analyze(test_fn) 110 def test_fn(x, a): function 117 node = self._parse_and_analyze(test_fn) 125 def test_fn(x, a): function [all …]
|
D | activity_test.py | 125 def _parse_and_analyze(self, test_fn): argument 127 node, source = parser.parse_entity(test_fn, future_features=()) 129 name=test_fn.__name__, 161 def test_fn(): function 164 node, _ = self._parse_and_analyze(test_fn) 170 def test_fn(): function 174 node, _ = self._parse_and_analyze(test_fn) 182 def test_fn(a): function 188 node, _ = self._parse_and_analyze(test_fn) 205 def test_fn(a): function [all …]
|
D | reaching_definitions_test.py | 34 def _parse_and_analyze(self, test_fn): argument 36 node, source = parser.parse_entity(test_fn, future_features=()) 38 name=test_fn.__name__, 86 def test_fn(a, b): function 92 node = self._parse_and_analyze(test_fn) 104 def test_fn(a, b): # pylint:disable=unused-argument function 113 node = self._parse_and_analyze(test_fn) 121 def test_fn(a, b): function 131 node = self._parse_and_analyze(test_fn) 141 def test_fn(a, b): function [all …]
|
D | type_inference_test.py | 89 def test_fn(a, b): function 92 node, _ = TestTranspiler(Resolver).transform(test_fn, None) 108 def test_fn(a): function 113 TestTranspiler(Resolver).transform(test_fn, None) 127 def test_fn(a: int, b): function 130 node, _ = TestTranspiler(Resolver).transform(test_fn, None) 159 def test_fn(a: int): function 167 node, _ = tr.transform(test_fn, None) 176 def test_fn(a: int, c: float): function 180 node, _ = TestTranspiler(BasicTestResolver).transform(test_fn, None) [all …]
|
D | reaching_definitions_py3_test.py | 30 def test_fn(): function 37 node = self._parse_and_analyze(test_fn) 54 def test_fn(): function 66 node = self._parse_and_analyze(test_fn)
|
D | reaching_fndefs_test.py | 31 def _parse_and_analyze(self, test_fn): argument 33 node, source = parser.parse_entity(test_fn, future_features=()) 35 name=test_fn.__name__,
|
/external/tensorflow/tensorflow/python/autograph/utils/ |
D | py_func_test.py | 27 def test_fn(a, b, c): function 31 result = py_func.wrap_py_func(test_fn, dtypes.int32, 34 result = py_func.wrap_py_func(test_fn, dtypes.int32, (1, 1, 1)) 37 test_fn, dtypes.int32, 48 def test_fn(a, b): function 52 result = py_func.wrap_py_func(test_fn, dtypes.int32, (7, TestClass())) 54 result = py_func.wrap_py_func(test_fn, dtypes.int32, 65 def test_fn(a, b, c, d): function 69 result = py_func.wrap_py_func(test_fn, dtypes.int32, (7, TestClass(5)), { 74 result = py_func.wrap_py_func(test_fn, dtypes.int32, [all …]
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 92 def test_fn(*, a): function 96 test_fn, (), {'a': constant_op.constant(-1)}, options=DEFAULT_RECURSIVE) 300 def test_fn(x): function 306 test_fn, (constant_op.constant(-1),), None, options=DEFAULT_RECURSIVE) 312 def test_fn(x, y, z): function 318 functools.partial(test_fn, constant_op.constant(-1), z=-3), 326 functools.partial(test_fn, constant_op.constant(-1)), z=-3), 335 def test_fn(x, y, z): function 340 partial_fn = functools.partial(test_fn, constant_op.constant(-1), z=-3) 566 def test_fn(_): function [all …]
|
D | conversion_test.py | 42 def test_fn(): function 45 self.assertFalse(conversion.is_allowlisted(test_fn)) 52 def test_fn(): function 54 tf_like.test_fn = test_fn 55 test_fn.__module__ = tf_like 57 self.assertFalse(conversion.is_allowlisted(tf_like.test_fn)) 101 def test_fn(self): function 105 test_fn,
|
/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 | 129 def test_fn(): function 133 self.assertEqual(self.evaluate(test_fn()), 3) 142 def test_fn(): function 147 self.evaluate(test_fn()) 156 def test_fn(): function 161 self.evaluate(test_fn()) 346 def test_fn(go_out_of_range, with_default): function 366 self.evaluate(test_fn(go_out_of_range=False, with_default=None)), 369 self.evaluate(test_fn(go_out_of_range=True, with_default=True)), 372 self.evaluate(test_fn(go_out_of_range=True, with_default=False)) [all …]
|
/external/tensorflow/tensorflow/python/tpu/tests/ |
D | tpu_embedding_v2_invalid_input_test.py | 87 def test_fn(): function 96 test_fn() 189 def test_fn(): function 199 test_fn() 213 def test_fn(): function 222 test_fn()
|
D | tpu_embedding_v2_sequence_feature_test.py | 46 def test_fn(): function 54 output = test_fn() 89 def test_fn(): function 97 output = test_fn()
|
D | tpu_embedding_v2_valid_input_test.py | 110 def test_fn(): function 120 test_fn() 134 def test_fn(): function 158 activations, per_device_activations, _, _ = test_fn() 166 test_fn() 276 def test_fn(): function 284 test_fn()
|
D | tpu_embedding_v2_hd_valid_input_test.py | 64 def test_fn(): function 74 test_fn() 98 def test_fn(): function 107 test_fn()
|
/external/tensorflow/tensorflow/python/autograph/tests/ |
D | loop_distributed_test.py | 148 def test_basic(self, test_fn, target): argument 149 if (test_fn in (loop_with_break, loop_with_continue) and 152 self.assertFunctionMatchesEagerStatefulInput(test_fn, target) 183 def test_iterator_next_stopping(self, test_fn): argument 186 tf.function(test_fn)(strat, ds, tf.constant(True))
|
/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 | 118 for test_fn in _get_conjugate_gradient_test( 120 name = "_".join(["ConjugateGradient", test_fn.__name__, arg_string]) 124 test_fn.__name__ + arg_string, 125 test_fn)
|