/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_csv_op_test.py | 33 def _test(self, args, expected_out=None, expected_err_re=None): argument 34 if expected_err_re is None: 44 with self.assertRaisesOpError(expected_err_re): 207 args, expected_err_re="Field 1 is required but missing in record 2!") 216 args, expected_err_re="Field 1 in record 1 is not a valid int32: 234a") 225 args, expected_err_re="Field 0 in record 1 is not a valid int32: ") 234 args, expected_err_re="Field 0 in record 2 is not a valid float: ") 240 args, expected_err_re="Unquoted fields cannot have quotes/CRLFs inside") 245 self._test(args, expected_err_re="Expect 1 fields but have 2 in record 0") 254 args, expected_err_re="Quoted field has to end with quote followed.*") [all …]
|
D | edit_distance_op_test.py | 46 expected_err_re=None): argument 50 if expected_err_re is None: 55 with self.assertRaisesOpError(expected_err_re): 63 expected_err_re=None): argument 81 expected_err_re=expected_err_re) 93 expected_err_re=expected_err_re)
|
D | argmax_op_test.py | 37 expected_err_re=None): argument 40 if expected_err_re is None: 47 with self.assertRaisesOpError(expected_err_re): 55 expected_err_re=None): argument 56 self._testArg(method, x, axis, expected_values, True, expected_err_re) 57 self._testArg(method, x, axis, expected_values, False, expected_err_re)
|
D | reverse_sequence_op_test.py | 41 expected_err_re=None): argument 45 if expected_err_re is None: 50 with self.assertRaisesOpError(expected_err_re): 59 expected_err_re=None): argument 61 expected_err_re) 63 False, expected_err_re)
|
D | compare_and_bitpack_op_test.py | 32 expected_err_re=None): argument 34 if expected_err_re is None: 39 with self.assertRaisesOpError(expected_err_re):
|
D | where_op_test.py | 40 def _testWhere(self, x, truth, expected_err_re=None): argument 44 if expected_err_re is None: 48 with self.assertRaisesOpError(expected_err_re): 99 def _testRandom(self, dtype, expected_err_re=None): argument 105 self._testWhere(x, truth, expected_err_re)
|
D | one_hot_op_test.py | 34 expected_err_re=None, argument 43 if expected_err_re is None: 48 with self.assertRaisesOpError(expected_err_re): 51 def _testBothOneHot(self, truth, expected_err_re=None, raises=None, **inputs): argument 52 self._testOneHot(truth, True, expected_err_re, raises, **inputs) 53 self._testOneHot(truth, False, expected_err_re, raises, **inputs)
|
D | ctc_decoder_ops_test.py | 54 expected_err_re=None, argument 68 if expected_err_re is None: 95 with self.assertRaisesOpError(expected_err_re):
|
D | ctc_loss_op_test.py | 88 expected_err_re=None): argument 101 if expected_err_re is None: 106 with self.assertRaisesOpError(expected_err_re):
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | csv_dataset_test.py | 79 expected_err_re=None): argument 80 if expected_err_re is None: 103 expected_err_re=None, argument 111 if expected_err_re is not None: 113 with self.assertRaisesOpError(expected_err_re): 115 self._verify_output_or_err(dataset, expected_output, expected_err_re) 118 self._verify_output_or_err(dataset, expected_output, expected_err_re) 152 expected_err_re='Unquoted fields cannot have quotes inside', 160 expected_err_re= 225 expected_err_re='Expect 2 fields but have 1 in record', [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | reverse_sequence_op_test.py | 37 expected_err_re=None): argument 44 if expected_err_re is None: 48 with self.assertRaisesOpError(expected_err_re):
|