MCPcopy
hub / github.com/tensorflow/playground / constructInput

Function constructInput

src/playground.ts:899–907  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

897}
898
899function constructInput(x: number, y: number): number[] {
900 let input: number[] = [];
901 for (let inputName in INPUTS) {
902 if (state[inputName]) {
903 input.push(INPUTS[inputName].f(x, y));
904 }
905 }
906 return input;
907}
908
909function oneStep(): void {
910 iter++;

Callers 4

updateDecisionBoundaryFunction · 0.85
getLossFunction · 0.85
oneStepFunction · 0.85
resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…