MacOS M1安装TensorFlow
1. 创建环境
1 | conda create -n [name] |
2. 安装基础 TensorFlow
1 | conda install -c apple tensorflow-deps |
3. 安装 tensorflow-metal 插件
1 | python -m pip install tensorflow-metal |
4. 验证
验证脚本
1 | 启动python |
MacOS M1安装TensorFlow
1 | conda create -n [name] |
1 | conda install -c apple tensorflow-deps |
1 | python -m pip install tensorflow-metal |
验证脚本
1 | 启动python |
MacOS M1安装TensorFlow