(self)
| 240 | array_ops.split(value=[1, 2, 3], num_or_size_splits=0) |
| 241 | |
| 242 | def testIsFunction(self): |
| 243 | ctx = context.context() |
| 244 | self.assertFalse(ctx.has_function("not_a_function")) |
| 245 | |
| 246 | @def_function.function |
| 247 | def f(): |
| 248 | return 1. |
| 249 | |
| 250 | self.assertTrue(ctx.has_function(f.get_concrete_function().name)) |
| 251 | |
| 252 | def testEagerExecute_InvalidType(self): |
| 253 | # Test case for GitHub issue 26879. |
nothing calls this directly
no test coverage detected