📈TensorFlow
Also known as TensorFlow Library, tf.keras
A free tool to build and train neural networks, then ship them to apps.
Think of it like
It is like a factory line for brains. It builds them and ships them to many places.
Example
Google released TensorFlow as open source in November 2015. Jack uses it to put a small photo model inside a phone app.
Why it matters
It is strong at shipping models to phones, browsers and servers. Lots of working systems depend on it.
Definition
Example code
python
import tensorflow as tf
model = tf.keras.Sequential([tf.keras.layers.Dense(64, activation="relu"), tf.keras.layers.Dense(1)])
model.compile(optimizer="adam", loss="mse")Common mistake
Key takeaways
- 1Build and ship. Train it, then run it anywhere.
- 2Keras on top. The simple way to stack layers.
- 3Many chips. CPU, graphics card or AI chip.