标量可以看成0阶张量
矢量可以看成1阶张量
矩阵可以看成2阶张量
以此类推。
#in the tensor of the tensorflow,the tensor include name shape and type
#张量和计算图上的节点所代表的计算结果是对应的
#node:src_output
#add:0表示result这个张量来自计算节点“add”的输出的第一个结果
通过设置默认会话来获取张量的取值
标量可以看成0阶张量
矢量可以看成1阶张量
矩阵可以看成2阶张量
以此类推。
#in the tensor of the tensorflow,the tensor include name shape and type
#张量和计算图上的节点所代表的计算结果是对应的
#node:src_output
#add:0表示result这个张量来自计算节点“add”的输出的第一个结果
通过设置默认会话来获取张量的取值