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

Function getParams

fashion-mnist-vae/client.js:140–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138}
139
140function getParams() {
141 const ppd = document.getElementById('pointsPerDim');
142 const start = document.getElementById('start');
143 const end = document.getElementById('end');
144
145 return {
146 pointsPerDim: parseInt(ppd.value), start: parseFloat(start.value),
147 end: parseFloat(end.value),
148 }
149}
150
151/**
152 * Generate an evenly spaced 2d latent space.

Callers 1

drawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected