- 大大简化建模的方法和步骤,更加简单实用。
- 将Keras API当作核心。
- 跨平台,eager mode 使得调试变得轻松。
1、安装Anaconda
2、安装Tensorflow
import tensorflow as tf import numpy as np # Eager Execution x = [[1.]] m = tf.matmul(x, x) print(m) x = tf.constant([[1,9],[3,6]]) # tensor视为一个矩阵即可 可以是数字、向量、矩阵、三维矩阵等等。



