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

Function featuresAndLabelsToPrettyString

data-generator/ui.js:88–94  ·  view source on GitHub ↗

Helper to display processed version of game state.

(features)

Source from the content-addressed store, hash-verified

86
87/** Helper to display processed version of game state. */
88function featuresAndLabelsToPrettyString(features) {
89 const basicArray = [];
90 for (const value of features) {
91 basicArray.push(value);
92 }
93 return basicArray;
94}
95
96/**
97 * Fills in the data in the Game Simulation.

Callers 1

displaySimulationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected