tf运作方式之共享变量

转自:https://docs.pythontab.com/tensorflow/how_tos/variable_scope/

这个讲的不错,能够更理解tf.get_Variable()了。创建时有name,并且前缀会有当前的scope名。

使用它创建变量时,会首先检测有没有出现过。没有显式scope应该是默认有自己的scope的。

猜你喜欢

转载自www.cnblogs.com/BlueBlueSea/p/10594903.html
今日推荐