![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
code_review
文章平均质量分 78
lgy_keira
这个作者很懒,什么都没留下…
展开
-
python-tensorflow(1)C3D代码解析
执行main函数之前首先进行flags的解析,也就是说TensorFlow通过设置flags来传递tf.app.run()所需要的参数,我们可以直接在程序运行前初始化flags,也可以在运行程序的时候设置命令行参数来达到传参的目的。- # 学习使用 tf.app.flags 使用,全局变量 - # 可以再命令行中运行也是比较方便,如果只写 python app_flags.py 则代码运行时默认程序原创 2017-09-12 14:49:56 · 5250 阅读 · 1 评论 -
[RPAN]代码阅读
attention lstm 层 lstm的输出: output= proj = proj.reshape([n_timesteps*num_seq,int(lstm_options[‘dim_proj’])]) softmax layer def __init__(self, input, n_in, n_out): self.W = Weight((n_i...原创 2018-08-16 22:41:17 · 1044 阅读 · 8 评论