bazel build -c opt --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --config=cuda -k //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
sudo -H pip install /tmp/ensorflow_pkg/tensor
查看显卡温度
watch -n 2 nvidia-smi
ubuntu安装软件
sudo dpkg -i 安装包路径
https://github.com/aymericdamien/TensorFlow-Examples
https://github.com/tensorflow/models