MCPcopy Create free account
hub / github.com/tensorflow/tfjs / normalizePath

Function normalizePath

tfjs/tools/custom_module/cli.ts:103–105  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

101
102 // Normalize the paths to absolute paths.
103 function normalizePath(p: string) {
104 return path.resolve(BASE_PATH, p);
105 }
106
107 finalConfig.models = finalConfig.models.map(normalizePath);
108 finalConfig.entries = finalConfig.entries.map(normalizePath);

Callers 1

validateArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…