Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs-examples
/ loadJSON
Function
loadJSON
intent-classifier/training/util.js:30–32 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
28
}
29
30
function
loadJSON(path) {
31
return
JSON.parse(fs.readFileSync(path, {encoding:
'utf8'
}));
32
}
33
34
function
flatMap(array, func) {
35
const
result = [];
Callers
3
run
Function · 0.85
run
Function · 0.85
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected