TensorFlow中使用tensor数据结构代表所有的数据,你可以把tensorflow中的tensor想象为n维的数组或者list。一个tensor具有静态的type和动态的维度,在computation图中,只有tensors的值可以在nodes中传递。
1.Rank
维度,是一个number值
如: t =[[1,2,3],[4,5,6],[7,8,9]]
订阅:
博文评论 (Atom)
leetcode 17
17. Letter Combinations of a Phone Number Medium Given a string containing digits from 2-9 inclusive, return all possible l...
-
ptb的代码可以详见gitlab上的tensorflow/models/tutorials下,本文只详解他的数据前处理和模型部分。 1.运行 首先说一下他的运行 ,下载数据集: http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-e...
-
写在开头,以下是我在过程中遇到的一些问题 1.关于KNN算法代码里的一些问题 1.1关于numpy的sum用法 Check out the documentation for numpy.sum, paying particular attention to the ...
没有评论:
发表评论