(export_dir_base,
checkpoint_path,
signature_def_fn,
assets_extra=None,
as_text=False,
clear_devices=True,
strip_default_attrs=True,
mode=ModeKeys.PREDICT)
| 1434 | yield ctx |
| 1435 | |
| 1436 | def export(export_dir_base, |
| 1437 | checkpoint_path, |
| 1438 | signature_def_fn, |
| 1439 | assets_extra=None, |
| 1440 | as_text=False, |
| 1441 | clear_devices=True, |
| 1442 | strip_default_attrs=True, |
| 1443 | mode=ModeKeys.PREDICT): |
| 1444 | |
| 1445 | return export_all(export_dir_base, |
| 1446 | checkpoint_path, |
| 1447 | lambda: {SIGNATURE_KEY_MAP[mode]: signature_def_fn()}, |
| 1448 | assets_extra=assets_extra, |
| 1449 | as_text=as_text, |
| 1450 | clear_devices=clear_devices, |
| 1451 | strip_default_attrs=strip_default_attrs, |
| 1452 | modes=[mode]) |
nothing calls this directly
no test coverage detected