(self)
| 287 | return path |
| 288 | |
| 289 | def test_cond(self): |
| 290 | first_path = self._v1_cond_saved_model() |
| 291 | imported = load.load(first_path) |
| 292 | function = imported.signatures["serving_default"] |
| 293 | self.assertAllClose({"output": 1.}, function(constant_op.constant(True))) |
| 294 | self.assertAllClose({"output": 0.}, function(constant_op.constant(False))) |
| 295 | |
| 296 | def _v1_while_saved_model(self): |
| 297 | export_graph = ops.Graph() |
nothing calls this directly
no test coverage detected