01
入门
安装与基础
TensorFlow 2.x 默认以 eager 模式运行(操作立即执行,如同普通 Python)。用 tf.config.list_physical_devices('GPU') 验证 CUDA GPU 是否可见。Linux/Windows 上安装 [and-cuda] 扩展以获得 GPU 支持,Apple Silicon 用 tensorflow-metal。TF 2.x 将 Keras 合并为 tf.keras。
tensorflow
Google 的端到端开源机器学习平台。
TensorFlow 2.x 默认以 eager 模式运行(操作立即执行,如同普通 Python)。用 tf.config.list_physical_devices('GPU') 验证 CUDA GPU 是否可见。Linux/Windows 上安装 [and-cuda] 扩展以获得 GPU 支持,Apple Silicon 用 tensorflow-metal。TF 2.x 将 Keras 合并为 tf.keras。