MCPcopy 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
50export function compileModel(model) {
51 model.compile({
52 loss: 'meanAbsoluteError',
53 optimizer: 'adam'
54 });
55}

Callers 2

mainFunction · 0.90
createModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected