Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs-examples
/ compileModel
Function
compileModel
quantization/model_housing.js:50–55 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
48
}
49
50
export
function
compileModel(model) {
51
model.compile({
52
loss:
'meanAbsoluteError'
,
53
optimizer:
'adam'
54
});
55
}
Callers
2
main
Function · 0.90
createModel
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected