摘要: 尽管tensorflow支持 name_scope 和 Variable,但更推荐使用 variable_scope 和 get_variable,这么做方便进行变量名称管理和实现权值变量共享 1 tf.name_scope() with tf.name_scope('ns1') as ns: ns 阅读全文
posted @ 2021-08-05 12:35 popozyl 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 看了一些论文的代码,个人感觉 GATE 的代码相对容易读懂一点。本文简单解读一下 GATE 的代码,帮助自己加深理解。为了简洁起见,本文只介绍 inductive 部分,transductive 部分变化不大,不作赘述。由于我是一个 python 和 tensorflow 的小白,本文有些位置会出现 阅读全文
posted @ 2021-08-05 12:27 popozyl 阅读(524) 评论(0) 推荐(0) 编辑