tensorflow
TensorFlow is an open-source machine learning library for research and production.
https://en.wikipedia.org/wiki/TensorFlow
https://www.tensorflow.org/
Tutorial: https://www.tensorflow.org/tutorials/
Keras:
Keras is a high-level API to build and train deep learning models. It's used for fast prototyping, advanced research, and production
Tensorflow安装:https://www.tensorflow.org/install/
pacman里边有包,有两个,tensorflow和python-tensorflow,
装了python-tensorflow
keras安装: 用pip
┬─[tong@T7:~]─[08:12:16 PM] ╰─>$ pip install keras
测试:
┬─[tong@T7:~]─[08:33:00 PM] ╰─>$ python Python 3.7.1 (default, Oct 22 2018, 10:41:28) [GCC 8.2.1 20180831] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf >>> from tensorflow.keras import layers >>> print(tf.VERSION) 1.12.0 >>> print(tf.keras.__version__) 2.1.6-tf >>>