阅读背景:

tensorflow2.0基础(一)

来源:互联网 
# 数值类型 , 标量(维度为0, Scalar) 向量(维度为1, Vector) 
# 矩阵(Matrix) 统称为 张量(Tensor) 
import tensorflow as tf 
a = 1.2 
aa = tf.constant(1.2) 
type(a), type(aa), tf.is_tensor(aa) # 数值类型 , 标量(维度为0, Scalar) 向量(维度为1, Vec



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: