2017年7月12日星期三

TensorFlow编程手册:Tensor Ranks, Shapes, and Types

    TensorFlow中使用tensor数据结构代表所有的数据,你可以把tensorflow中的tensor想象为n维的数组或者list。一个tensor具有静态的type和动态的维度,在computation图中,只有tensors的值可以在nodes中传递。

1.Rank
维度,是一个number值
如: t =[[1,2,3],[4,5,6],[7,8,9]]

没有评论:

发表评论

leetcode 17

17.   Letter Combinations of a Phone Number Medium Given a string containing digits from   2-9   inclusive, return all possible l...