- https://www.tensorflow.org/tutorials/text/word_embeddings
- https://www.tensorflow.org/tutorials/text/nmt_with_attention
- https://www.tensorflow.org/tutorials/text/transformer
- https://www.tensorflow.org/tutorials/text/image_captioning
A machine learning platform from the future.
A core principle of Keras is “progressive disclosure of complexity”: it’s easy to get started, and you can gradually dive into workflows where you write more and more logic from scratch, providing you with complete control. This applies to both model definition, and model training.
Resources to learn TensorFlow 2.0
- TensorFlow 2.0 + Keras Crash Course by Francois Chollet
- The Keras functional API in TensorFlow from official guide
- Train and evaluate with TensorFlow 2.0 from official guide
- Hands-On Machine Learning with Scikit-Learn, Keras and Tensor Flow by Aurélien Géron
- Inside TensorFlow: tf.Keras (video part 1) by Francois Chollet
- Inside TensorFlow: tf.Keras (video part 2) by Francois Chollet
Libraries and extensions
Tensorboard:https://www.tensorflow.org/tensorboard
部分笔记:
@tf.function
: compile the training function into a static graph to speedup over 40%.- custom layers:
class Linear(Layer): """y = w.x + b""" # 定义全局变量 def __init__(self, units=32