Home
last modified time | relevance | path

Searched refs:assertRaisesWithPredicateMatch (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
Dmatrix_inverse_tril_test.py129 with self.assertRaisesWithPredicateMatch(ValueError, rank_error_msg):
131 with self.assertRaisesWithPredicateMatch(ValueError, rank_error_msg):
133 with self.assertRaisesWithPredicateMatch(ValueError, rank_error_msg):
135 with self.assertRaisesWithPredicateMatch(ValueError, rank_error_msg):
162 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
165 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
168 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
171 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
/external/tensorflow/tensorflow/compiler/tests/
Dscan_ops_test.py136 with self.assertRaisesWithPredicateMatch(
140 with self.assertRaisesWithPredicateMatch(
144 with self.assertRaisesWithPredicateMatch(
214 with self.assertRaisesWithPredicateMatch(
218 with self.assertRaisesWithPredicateMatch(
222 with self.assertRaisesWithPredicateMatch(
Dstateful_random_ops_test.py247 with self.assertRaisesWithPredicateMatch(
252 with self.assertRaisesWithPredicateMatch(
256 with self.assertRaisesWithPredicateMatch(
262 with self.assertRaisesWithPredicateMatch(
268 with self.assertRaisesWithPredicateMatch(
274 with self.assertRaisesWithPredicateMatch(
Dlstm_test.py150 with self.assertRaisesWithPredicateMatch(ValueError, 'length of x_seq'):
152 with self.assertRaisesWithPredicateMatch(ValueError, 'length of x_seq'):
154 with self.assertRaisesWithPredicateMatch(ValueError, 'length of x_seq'):
Dscatter_nd_op_test.py167 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
174 with self.assertRaisesWithPredicateMatch(errors.InvalidArgumentError,
Dreduce_ops_test.py65 with self.assertRaisesWithPredicateMatch(
69 with self.assertRaisesWithPredicateMatch(
Dsparse_to_dense_op_test.py95 with self.assertRaisesWithPredicateMatch(ValueError, "must be rank 1"):
Dgather_nd_op_test.py67 with self.assertRaisesWithPredicateMatch(
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_csv_op_test.py80 with self.assertRaisesWithPredicateMatch(*err_spec):
290 with self.assertRaisesWithPredicateMatch(
300 with self.assertRaisesWithPredicateMatch(
310 with self.assertRaisesWithPredicateMatch(
Dscan_ops_test.py147 with self.assertRaisesWithPredicateMatch(
151 with self.assertRaisesWithPredicateMatch(
155 with self.assertRaisesWithPredicateMatch(
264 with self.assertRaisesWithPredicateMatch(
268 with self.assertRaisesWithPredicateMatch(
272 with self.assertRaisesWithPredicateMatch(
Dslice_op_test.py154 with self.assertRaisesWithPredicateMatch(ValueError, "out of range"):
160 with self.assertRaisesWithPredicateMatch(errors_impl.InvalidArgumentError,
169 with self.assertRaisesWithPredicateMatch(ValueError, "out of range"):
175 with self.assertRaisesWithPredicateMatch(errors_impl.InvalidArgumentError,
351 with self.assertRaisesWithPredicateMatch(
Dtensor_priority_test.py49 with self.assertRaisesWithPredicateMatch(
Dscatter_nd_ops_test.py329 with self.assertRaisesWithPredicateMatch(
339 with self.assertRaisesWithPredicateMatch(
510 with self.assertRaisesWithPredicateMatch(
543 with self.assertRaisesWithPredicateMatch(
552 with self.assertRaisesWithPredicateMatch(
Dsparse_to_dense_op_py_test.py108 with self.assertRaisesWithPredicateMatch(ValueError, "must be rank 1"):
Dreduction_ops_test.py291 with self.assertRaisesWithPredicateMatch(
294 with self.assertRaisesWithPredicateMatch(
297 with self.assertRaisesWithPredicateMatch(
339 with self.assertRaisesWithPredicateMatch(ValueError,
Dparsing_ops_test.py95 with self.assertRaisesWithPredicateMatch(expected_err[0],
948 with self.assertRaisesWithPredicateMatch(expected_err[0],
1066 with self.assertRaisesWithPredicateMatch(expected_err[0],
Dpy_func_test.py428 with self.assertRaisesWithPredicateMatch(tf_exp, expected_error_check):
436 with self.assertRaisesWithPredicateMatch(tf_exp, expected_error_check):
Dparse_single_example_op_test.py95 with self.assertRaisesWithPredicateMatch(expected_err[0],
855 with self.assertRaisesWithPredicateMatch(expected_err[0],
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dfft_ops_test.py254 with self.assertRaisesWithPredicateMatch(
257 with self.assertRaisesWithPredicateMatch(
476 with self.assertRaisesWithPredicateMatch(
479 with self.assertRaisesWithPredicateMatch(
487 with self.assertRaisesWithPredicateMatch(ValueError,
490 with self.assertRaisesWithPredicateMatch(ValueError,
496 with self.assertRaisesWithPredicateMatch(
499 with self.assertRaisesWithPredicateMatch(
511 with self.assertRaisesWithPredicateMatch(
519 with self.assertRaisesWithPredicateMatch(
/external/tensorflow/tensorflow/contrib/periodic_resample/python/kernel_tests/
Dperiodic_resample_op_test.py99 with self.assertRaisesWithPredicateMatch(
103 with self.assertRaisesWithPredicateMatch(
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmixture_test.py174 with self.assertRaisesWithPredicateMatch(ValueError,
180 with self.assertRaisesWithPredicateMatch(
194 with self.assertRaisesWithPredicateMatch(ValueError, r"Could not infer"):
226 with self.assertRaisesWithPredicateMatch(TypeError, "Categorical"):
230 with self.assertRaisesWithPredicateMatch(
233 with self.assertRaisesWithPredicateMatch(TypeError, "same dtype"):
240 with self.assertRaisesWithPredicateMatch(ValueError, "non-empty list"):
/external/tensorflow/tensorflow/contrib/kernel_methods/python/mappers/
Drandom_fourier_features_test.py63 with self.assertRaisesWithPredicateMatch(
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Drev_block_lib_test.py321 with self.assertRaisesWithPredicateMatch(
400 with self.assertRaisesWithPredicateMatch(ValueError, "closes over"):
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtest_base.py137 with self.assertRaisesWithPredicateMatch(expected_error[0],
/external/tensorflow/tensorflow/python/ops/
Dstateful_random_ops_test.py279 with self.assertRaisesWithPredicateMatch(

12