/external/tensorflow/tensorflow/python/framework/ |
D | smart_cond_test.py | 28 def raise_exception(): function 71 raise_exception) 104 (x == 0, raise_exception)] 105 y = smart_cond.smart_case(conditions, default=raise_exception, 107 z = smart_cond.smart_case(conditions, default=raise_exception, 116 conditions = [(False, raise_exception)] 132 (y < 1, raise_exception), 133 (False, raise_exception), 135 z = smart_cond.smart_case(conditions, default=raise_exception)
|
/external/autotest/client/deps/lansim/src/py/ |
D | simulator_unittest.py | 17 def raise_exception(): function 109 self._sim.add_timeout(60, raise_exception) 111 self.assertTrue(self._sim.remove_timeout(raise_exception)) 112 self.assertFalse(self._sim.remove_timeout(raise_exception)) 166 self._sim.add_timeout(0.1, raise_exception)
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | trip-count6.ll | 32 tail call void @raise_exception( ) noreturn 38 declare void @raise_exception() noreturn
|
/external/python/cpython3/Modules/_sqlite/ |
D | util.c | 75 raise_exception(PyObject *type, int errcode, const char *errmsg) in raise_exception() function 138 raise_exception(exc_class, extended_errcode, errmsg); in _pysqlite_seterror()
|
/external/llvm/test/Transforms/LoopRotate/ |
D | simplifylatch.ll | 33 tail call void @raise_exception( ) noreturn 39 declare void @raise_exception() noreturn
|
/external/tensorflow/tensorflow/lite/python/authoring/ |
D | authoring.py | 68 raise_exception=False): argument 90 self._raise_exception = raise_exception
|
D | authoring_test.py | 45 @authoring.compatible(raise_exception=True)
|
/external/toolchain-utils/llvm_tools/ |
D | werror_logs_test.py | 403 def raise_exception(*_args, check=False, **_kwargs): function 407 run_mock.side_effect = raise_exception
|
/external/fonttools/Tests/ttx/ |
D | ttx_test.py | 957 ttx, "process", (lambda x, y: raise_exception(KeyboardInterrupt)) 969 monkeypatch.setattr(ttx, "process", (lambda x, y: raise_exception(SystemExit))) 981 (lambda x, y: raise_exception(TTLibError("Test error"))), 996 (lambda x, y: raise_exception(Exception("Test error"))), 1057 def raise_exception(exception): function
|
/external/python/absl-py/absl/tests/ |
D | app_test_helper.py | 59 if FLAGS.raise_exception:
|
/external/pytorch/test/ |
D | test_futures.py | 88 def raise_exception(unused_future): function 96 f2 = f1.then(raise_exception)
|
D | test_autograd.py | 5675 raise_exception=False, 5686 raise_exception=False, 5696 gradcheck(lambda x: x, (x,), raise_exception=False, fast_mode=fast_mode) 5714 gradcheck(lambda x: x, (x,), raise_exception=False, fast_mode=fast_mode) 5736 raise_exception=False, 5752 raise_exception=False, 5774 raise_exception=False, 5787 raise_exception=False, 5806 raise_exception=False, 5838 raise_exception=False, [all …]
|
D | test_overrides.py | 919 … gradcheck(torch.add, (a, b), raise_exception=False, check_batched_grad=False, fast_mode=fast_mode) 920 …gradgradcheck(torch.add, (a, b), raise_exception=False, check_batched_grad=False, fast_mode=fast_m…
|
D | test_foreach.py | 1423 raise_exception=True,
|
/external/pytorch/torch/ |
D | library.py | 1219 raise_exception: bool = True, 1323 op, args, kwargs, test_utils=test_utils, raise_exception=raise_exception
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | authoring.ipynb | 212 … to the `@tf.lite.experimental.authoring.compatible` decorator. The `raise_exception` option gives… 223 "@tf.lite.experimental.authoring.compatible(raise_exception=True)\n", 262 …lite.experimental.authoring.compatible(converter_target_spec=target_spec, raise_exception=True)\n",
|
/external/pytorch/torch/csrc/utils/ |
D | python_arg_parser.cpp | 1469 bool raise_exception) { in parse() argument 1485 if (raise_exception) { in parse() 1502 if (raise_exception) { in parse() 1524 if (raise_exception) { in parse() 1542 } else if (raise_exception) { in parse() 1591 if (raise_exception) { in parse()
|
D | python_arg_parser.h | 196 bool raise_exception);
|
/external/python/absl-py/absl/testing/tests/ |
D | flagsaver_test.py | 240 def raise_exception(): function 246 self.assertRaises(_TestError, raise_exception)
|
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/ |
D | py_func_test.py | 61 def raise_exception(): function 74 f = script_ops.eager_py_func(raise_exception, [], []) 77 f = script_ops.eager_py_func(raise_exception, [], []) 79 f = script_ops.py_func(raise_exception, [], [])
|
/external/pytorch/torch/testing/_internal/optests/ |
D | generate_tests.py | 627 raise_exception: bool = True, 661 if raise_exception:
|
/external/pytorch/torch/autograd/ |
D | gradcheck.py | 1957 raise_exception: bool = True, 2046 if not raise_exception: 2124 raise_exception: bool = True, 2260 raise_exception=raise_exception,
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_abc.py | 860 def raise_exception(exc): function 866 self.loader.set_data = raise_exception(NotImplementedError)
|
/external/python/cpython3/Lib/test/ |
D | test_exceptions.py | 356 _testcapi.raise_exception(BadException, 1) 367 _testcapi.raise_exception(BadException, 0) 380 self.assertRaises(SystemError, _testcapi.raise_exception,
|
/external/pytorch/test/inductor/ |
D | test_flex_attention.py | 960 func, (query, key, value, score_mod), raise_exception=True 984 func, (query, key, value, score_mod), raise_exception=True
|