【发布时间】:2020-02-28 02:02:37
【问题描述】:
在 TensorFlow 2 中,Eager Execution 是默认执行。不需要烦人的会话或占位符。
在 Stack Overflow 上有很多与name_scope、variable_scope 等相关的问题,例如What is the difference between variable_scope and name_scope?、What's the difference of name scope and a variable scope in tensorflow?、What are the practical differences between the variable_scope and name_scope? 和Why do we use tf.name_scope(),因为人们可以理解地不明白这些功能及其目的背后的想法。本质上,这些函数用于命名底层计算图中的变量。
variable_scope、name_scope 等在 TensorFlow 2 中具有急切执行的目的或用途吗?如果有,能否举个例子?
【问题讨论】:
标签: tensorflow tensorflow2.0 eager-execution