Overview
Code
//create first layer with two inputs and 10 outputs
const input_layer_shape = 2;
const input_layer_neurons = 10;
model.add(tf.layers.dense({units: input_layer_neurons, inputShape: [input_layer_shape]}));
//create first layer with two inputs and 10 outputs
const input_layer_shape = 2;
const input_layer_neurons = 10;
model.add(tf.layers.dense({units: input_layer_neurons, inputShape: [input_layer_shape]}));