D | one_hot_op_test.py | 35 raises=None, argument 38 if raises is not None: 39 with self.assertRaises(raises): 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) 398 raises=TypeError) 413 raises=TypeError) 421 raises=TypeError)
|