Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs-examples
/ unique
Function
unique
intent-classifier/training/util.js:62–64 ·
view source on GitHub ↗
(array)
Source
from the content-addressed store, hash-verified
60
}
61
62
function
unique(array) {
63
return
Array.from(
new
Set(array));
64
}
65
66
67
const
TAGS = [
'TOK'
,
'LOC'
,
'__PAD__'
];
Callers
1
embedTokens
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected