- 博客(5)
- 收藏
- 关注
原创 scala
case class TreeNode[T](data: T, children: Seq[TreeNode[T]] = Nil)object TreeNode { var tmp: Seq[String] = Nil def pr: PartialFunction[Any,Seq[String]] = { case a: String => tmp = tmp:+a;tmp
2017-04-08 00:40:42
478
翻译 [翻译]斯坦福CS 20SI:基于Tensorflow的深度学习研究课程笔记,Lecture note 4: How to structure your model in TensorFlow
“CS 20SI: TensorFlow for Deep Learning Research” Prepared by Chip Huyen Reviewed by Danijar HafnerLecture note 4: How to structure your model in TensorFlow 个人翻译,部分内容较简略,建议参考原note阅读本节课建立word2vec模型,不熟
2017-03-05 23:24:31
4873
翻译 [翻译]斯坦福CS 20SI:基于Tensorflow的深度学习研究课程笔记,Lecture note 3: Linear and Logistic Regression in TensorFlow
“CS 20SI: TensorFlow for Deep Learning Research” Prepared by Chip Huyen Reviewed by Danijar HafnerLecture note 3: Linear and Logistic Regression in TensorFlow 个人翻译,部分内容较简略,建议参考原note阅读1. tensorflow的线
2017-03-04 20:28:36
1214
翻译 [翻译]斯坦福CS 20SI:基于Tensorflow的深度学习研究课程笔记,Lecture note 2: TensorFlow Ops
1. tensorboard使用示例代码:import tensorflow as tf a = tf.constant ( 2)b = tf . constant ( 3)x = tf . add ( a , b)with tf.Session () as sess: print sess.run ( x)训练之前,建立graph以后,运行下列代码激活tenso
2017-03-04 19:55:12
6110
1
翻译 [翻译]什么是tensorflow的session
[翻译]什么是tensorflow的session原文:danijar博客文章what is a tensorflow session很多人对于tf.Graph和tf.Session的用法有困惑,很简单:graph只是定义了计算,他本身不计算任何东西,他不保存任何值,他只是定义了你用代码所规定的操作session允许计算图或者图的一部分,他为这个分配资源并且保存中间结果的值和变量让我们看一个例
2017-03-04 16:19:15
4342
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人