- 博客(1)
- 收藏
- 关注
原创 Tensorflow2 math常用操作
Tensorflow2 math常用操作 张量的二元操作可以进行广播,与numpy的广播规则一样 一、tf.math 1.abs 返回张量的绝对值,输出类型、形状与输入一致 tf.math.abs( x, name=None ) a = tf.constant([[1, 2, -1], [4, -3, 2]], dtype=tf.float32) tf.abs(a) >&g...
2020-02-18 20:21:26
838
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人