MCPcopy Index your code
hub / github.com/tensorflow/tfjs-examples / compileModel

Method compileModel

lstm-text-generation/index.js:73–75  ·  view source on GitHub ↗

* Compile model for training. * * @param {number} learningRate The learning rate to use during training.

(learningRate)

Source from the content-addressed store, hash-verified

71 * @param {number} learningRate The learning rate to use during training.
72 */
73 compileModel(learningRate) {
74 model.compileModel(this.model, learningRate);
75 }
76
77 /**
78 * Train the LSTM model.

Callers 1

setUpUIFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected