Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. const model = tf.sequential();
  2.  
  3. model.add(
  4. tf.layers.dense({
  5. units: 12,
  6. activation: "relu",
  7. inputShape: [featureCount]
  8. })
  9. );
  10.  
  11. model.add(
  12. tf.layers.dense({
  13. units: 2,
  14. activation: "softmax"
  15. })
  16. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement