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

Function getSampleIndex

data-csv/ui.js:98–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96
97// Returns current value of the selected sample index as a number.
98export function getSampleIndex() {
99 return whichSampleInputElement.valueAsNumber;
100}
101
102// Returns the currently specified URL, from which to access the CSV file.
103export const getQueryElement = () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected