MCPcopy Create free account
hub / github.com/google-research/language / latest_export_path

Function latest_export_path

language/common/utils/export_utils.py:53–56  ·  view source on GitHub ↗

Get the latest exported path based on timestamp.

(glob_pattern, regex_pattern)

Source from the content-addressed store, hash-verified

51
52
53def latest_export_path(glob_pattern, regex_pattern):
54 """Get the latest exported path based on timestamp."""
55 sorted_paths = export_paths(glob_pattern, regex_pattern)
56 return sorted_paths[-1] if sorted_paths else None
57
58
59def best_export_path(model_dir, best_prefix="best"):

Callers 2

best_export_pathFunction · 0.85
tfhub_export_pathFunction · 0.85

Calls 1

export_pathsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…