MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / getTrainEpochs

Function getTrainEpochs

mnist/ui.js:117–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115}
116
117export function getTrainEpochs() {
118 return Number.parseInt(document.getElementById('train-epochs').value);
119}
120
121export function setTrainButtonCallback(callback) {
122 const trainButton = document.getElementById('train');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected