def get_variables_path(export_dir): """Return the variables path, used as the prefix for checkpoint files.""" return file_io.join(compat.as_text(get_variables_dir(export_dir)), compat.as_text(constants.VARIABLES_FILENAME))
def get_assets_dir(export_dir): """Return path to asset directory in the SavedModel.""" return file_io.join(compat.as_text(export_dir), compat.as_text(constants.ASSETS_DIRECTORY))
def get_variables_dir(export_dir): """Return variables sub-directory in the SavedModel.""" return file_io.join(compat.as_text(export_dir), compat.as_text(constants.VARIABLES_DIRECTORY))