MCPcopy Create free account
hub / github.com/tensorflow/lingvo / GetDatasetsAst

Function GetDatasetsAst

lingvo/datasets.py:98–179  ·  view source on GitHub ↗

Gets datasets but without importing any code by using ast. Useful when running from python interpreter without bazel build. Args: base_dir: Base directory to search in. model: The model string. Returns: A list of strings containing names of valid dataset functions for cls. M

(base_dir: str, model: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

visit_ClassDefMethod · 0.85

Calls 2

DatasetsVisitorClass · 0.85
splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…