Skip to content

Instantly share code, notes, and snippets.

@parmarsuraj99
Last active March 17, 2019 09:53
Show Gist options
  • Save parmarsuraj99/f0d2f1ffbbf9039b3bfc18b48d4753bb to your computer and use it in GitHub Desktop.
Save parmarsuraj99/f0d2f1ffbbf9039b3bfc18b48d4753bb to your computer and use it in GitHub Desktop.
await model.fit(xs, ys);
// model.fit(xs, ys, epochs=100)
model.predict(tf.tensor1d([6], [1, 1])).print();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment