天天看点

人工智能实践:Tensorflow笔记02:TF常用函数

1。类型转化,找最大最小值:

人工智能实践:Tensorflow笔记02:TF常用函数

2.axis

人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数

3.可训练:variable

人工智能实践:Tensorflow笔记02:TF常用函数

4.数学运算:

人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数

5.标签和特征配对:

人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数

6求导数:

人工智能实践:Tensorflow笔记02:TF常用函数

7。enumerate:枚举出所有元素,且都加上枚举的索引号。

人工智能实践:Tensorflow笔记02:TF常用函数

8。独热码:

人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数

也就是让哪个位置为0.

9。softmax:把数字变为概率,全部和为1.

人工智能实践:Tensorflow笔记02:TF常用函数
人工智能实践:Tensorflow笔记02:TF常用函数

10。sub等自更新

人工智能实践:Tensorflow笔记02:TF常用函数

11。找指定轴的最大最小值:

人工智能实践:Tensorflow笔记02:TF常用函数

继续阅读