tensorflow名称域name_scope(),variable_scope(),与tf.Variable(),tf.get_variable()

tensorflow的名称域的声明有两种方式:get 1)tf.name_scope("scope_name"):变量 2)tf.variable_scope("scope_name"):tensorflow 定义变量有两种方式:scope 1)tf.Variable()#变量名可选co 2)tf.get_variable()#变量名必选ab 在variable_scope名称域中定义变量,则两种
相关文章
相关标签/搜索