KOSASIH / Galactic-Chain

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
4 months ago4 months old
Documentation comment not found for function declaration train
 1const tf = require('@tensorflow/tfjs');
 2const model = require('./galactic_chain_model');
 3
 4async function train() { 5  const xs = tf.tensor2d([-1, 0, 1, 2, 3, 4], [6, 1]);
 6  const ys = tf.tensor2d([-3, -1, 1, 3, 5, 7], [6, 1]);
 7
Documentation comment not found for function declaration test
 1const tf = require('@tensorflow/tfjs');
 2const model = require('./galactic_chain_model');
 3
 4async function test() { 5  const inputData = tf.tensor2d([5], [1, 1]);
 6  const output = model.predict(inputData);
 7