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

Function getLearningRate

webcam-transfer-learning/ui.js:31–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29// Set hyper params from UI values.
30const learningRateElement = document.getElementById('learningRate');
31export const getLearningRate = () => +learningRateElement.value;
32
33const batchSizeFractionElement = document.getElementById('batchSizeFraction');
34export const getBatchSizeFraction = () => +batchSizeFractionElement.value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected