1. TensorFlow版本查询 import tensorflow as tf tf.__version__ 2. TensorFlow版本更新 !pip3 install --upgrade tensorflow