- 博客(5)
- 资源 (1)
- 问答 (2)
- 收藏
- 关注
原创 TensorFlow梯度求解tf.gradients
import tensorflow as tf w1 = tf.Variable([[1,2]]) w2 = tf.Variable([[3,4]]) res = tf.matmul(w1, [[2],[1]]) grads = tf.gradients(res,[w1]) with tf.Session() as sess: tf.global_variables_init
2017-08-26 16:25:59 10529
原创 Tensorflow学习率的learning rate decay
参考: http://blog.csdn.net/u012436149/article/details/62058318
2017-08-26 15:29:56 2490
原创 TensorFlow不同交叉熵计算方式
import tensorflow as tf #our NN's output logits=tf.constant([[1.0,3.0,2.0],[3.0,2.0,1.0],[1.0,2.0,3.0]]) #step1:do softmax y=tf.nn.softmax(logits) #true label y_=tf.constant([[0.0,1.0,0.0],
2017-08-26 14:30:45 2153
原创 python常用功能总结
1、argparse - 命令行选项与参数解析 http://www.2cto.com/kf/201412/363654.html parse_known_args() http://blog.csdn.net/mameng1/article/details/54409910
2017-08-20 16:53:58 553
关于STL编程是计算两个指针的距离问题
2016-07-26
c++二叉排序树根结点的问题,请大神来回答一下
2016-05-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人