View source on GitHub |
Builds a path to a new subdirectory within the base directory.
tfm.core.export_base.get_timestamped_export_dir(
export_dir_base
)
Args | |
---|---|
export_dir_base
|
A string containing a directory to write the exported graph and checkpoints. |
Returns | |
---|---|
The full path of the new subdirectory (which is not actually created yet). |
Raises | |
---|---|
RuntimeError
|
if repeated attempts fail to obtain a unique timestamped directory name. |