Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const model = tf.sequential();
- model.add(
- tf.layers.dense({
- units: 12,
- activation: "relu",
- inputShape: [featureCount]
- })
- );
- model.add(
- tf.layers.dense({
- units: 2,
- activation: "softmax"
- })
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement